Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
workflowprovider.php
1<?php
2
4
7
8/*
9 * STATUS - WF_STATUS_ID (order not worked)
10 */
12{
13 public function prepareColumns(): array
14 {
15 $result = parent::prepareColumns();
16
17 if (!$this->isSkuSelectorEnabled() && $this->usedWorkflow())
18 {
19 $result['WF_STATUS_ID'] = $this->createColumn('WF_STATUS_ID', [
20 'type' => Grid\Column\Type::CUSTOM,
21 'name' => Loc::getMessage('IBLOCK_WORKFLOW_COLUMN_PROVIDER_FIELD_WF_STATUS_ID'),
22 'necessary' => true,
23 'sort' => 'WF_STATUS_ID',
24 ]);
25 }
26
27 return $result;
28 }
29}
createColumn(string $columnId, array $params=[])
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29