• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/rest/appplacement.php
  • Класс: Bitrix\Crm\Integration\Rest\AppPlacement
  • Вызов: AppPlacement::getAllListMenuCodes
static function getAllListMenuCodes(): array
{
	$supportedEntityTypesList = [
		\CCrmOwnerType::Lead,
		\CCrmOwnerType::Deal,
		\CCrmOwnerType::Invoice,
		\CCrmOwnerType::Quote,
		\CCrmOwnerType::Contact,
		\CCrmOwnerType::Company,
		\CCrmOwnerType::Activity,
		\CCrmOwnerType::SmartInvoice,
	];

	static::mixinDynamicEntityTypes($supportedEntityTypesList);

	$listMenuCodes = [];
	foreach ($supportedEntityTypesList as $entityTypeId)
	{
		$listMenuCodes[] = static::getListMenuPlacementCode($entityTypeId);
	}

	return $listMenuCodes;
}