public function getColumns(): array
{
return [
[
'id' => 'ID',
'name' => Loc::getMessage('IBLOCK_UI_GRID_PROPERTY_PROVIDER_ID'),
'type' => 'int',
'sort' => 'ID',
],
[
'id' => 'NAME',
'name' => Loc::getMessage('IBLOCK_UI_GRID_PROPERTY_PROVIDER_NAME'),
'sort' => 'NAME',
'default' => true,
'editable' => true,
],
[
'id' => 'CODE',
'name' => Loc::getMessage('IBLOCK_UI_GRID_PROPERTY_PROVIDER_CODE'),
'sort' => 'CODE',
'editable' => true,
],
[
'id' => 'PROPERTY_TYPE',
'name' => Loc::getMessage('IBLOCK_UI_GRID_PROPERTY_PROVIDER_PROPERTY_TYPE'),
'sort' => 'PROPERTY_TYPE',
'type' => 'list',
'default' => true,
'editable' => false,
],
[
'id' => 'SORT',
'name' => Loc::getMessage('IBLOCK_UI_GRID_PROPERTY_PROVIDER_SORT'),
'sort' => 'SORT',
'type' => 'int',
'default' => true,
'editable' => true,
],
[
'id' => 'ACTIVE',
'name' => Loc::getMessage('IBLOCK_UI_GRID_PROPERTY_PROVIDER_ACTIVE'),
'sort' => 'ACTIVE',
'type' => 'checkbox',
'default' => true,
'editable' => true,
],
[
'id' => 'IS_REQUIRED',
'name' => Loc::getMessage('IBLOCK_UI_GRID_PROPERTY_PROVIDER_IS_REQUIRED'),
'sort' => 'IS_REQUIRED',
'type' => 'checkbox',
'default' => true,
'editable' => true,
],
[
'id' => 'MULTIPLE',
'name' => Loc::getMessage('IBLOCK_UI_GRID_PROPERTY_PROVIDER_MULTIPLE'),
'sort' => 'MULTIPLE',
'type' => 'checkbox',
'default' => true,
'editable' => true,
],
[
'id' => 'SEARCHABLE',
'name' => Loc::getMessage('IBLOCK_UI_GRID_PROPERTY_PROVIDER_SEARCHABLE'),
'sort' => 'SEARCHABLE',
'type' => 'checkbox',
'default' => true,
'editable' => true,
],
[
'id' => 'FILTRABLE',
'name' => Loc::getMessage('IBLOCK_UI_GRID_PROPERTY_PROVIDER_FILTRABLE'),
'sort' => 'FILTRABLE',
'type' => 'checkbox',
'editable' => true,
],
[
'id' => 'XML_ID',
'name' => Loc::getMessage('IBLOCK_UI_GRID_PROPERTY_PROVIDER_XML_ID'),
'sort' => 'XML_ID',
'editable' => true,
],
[
'id' => 'WITH_DESCRIPTION',
'name' => Loc::getMessage('IBLOCK_UI_GRID_PROPERTY_PROVIDER_WITH_DESCRIPTION'),
'sort' => 'WITH_DESCRIPTION',
'type' => 'checkbox',
'editable' => true,
],
[
'id' => 'HINT',
'name' => Loc::getMessage('IBLOCK_UI_GRID_PROPERTY_PROVIDER_HINT'),
],
];
}