• Модуль: mobileapp
  • Путь к файлу: ~/bitrix/modules/mobileapp/lib/janative/entity/component.php
  • Класс: BitrixMobileAppJanativeEntityComponent
  • Вызов: Component::getComponentListInfo
public function getComponentListInfo(): array {
	$relativeComponents = $this->getComponentDependencies();
	$componentScope = Manager::getAvailableComponents();
	if ($relativeComponents !== null) {
		$relativeComponentsScope = [];
		foreach ($relativeComponents as $scope)
		{
			if (isset($componentScope[$scope])) {
				$relativeComponentsScope[$scope] = $componentScope[$scope];
			}
		}

		$componentScope = $relativeComponentsScope;
	}

	return array_map(function ($component) {
		return $component->getInfo();
	}, $componentScope);
}