• Модуль: crmmobile
  • Путь к файлу: ~/bitrix/modules/crmmobile/lib/Kanban/ControllerStrategy/KanbanStrategy.php
  • Класс: BitrixCrmMobileKanbanControllerStrategyKanbanStrategy
  • Вызов: KanbanStrategy::getItemParams
public function getItemParams(array $items): array
{
	$entityAttributes = $this->getEntityAttributes($items);

	/*
	 * Temporarily hidden the ability to render time under the option for demo.
	 * Most likely this will not be required and the time will not be rendered constantly
	 */
	$renderLastActivityTime = (Option::get('crmmobile', 'render_last_activity_time_in_kanban_items', 'N') === 'Y');

	return [
		'permissionEntityAttributes' => $entityAttributes,
		'renderLastActivityTime' => $renderLastActivityTime,
	];
}