Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
barcodeprovider.php
1<?php
2
4
7
9{
10 public function prepareColumns(): array
11 {
12 $result = [];
13
14 $result['BARCODE'] = $this->createColumn('BARCODE', [
15 'type' => Grid\Column\Type::HTML,
16 'name' => Loc::getMessage('BARCODE_COLUMN_PROVIDER_FIELD_BARCODE'),
17 'necessary' => false,
18 'editable' => false,
19 'multiple' => false,
20 'select' => [
21 'BARCODE',
22 'PRODUCT_ID',
23 ],
24 'sort' => false,
25 'align' => 'right',
26 ]);
27
28 return $result;
29 }
30}
createColumn(string $columnId, array $params=[])
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29