• Модуль: intranet
  • Путь к файлу: ~/bitrix/modules/intranet/lib/CustomSection/Provider.php
  • Класс: BitrixIntranetCustomSectionProvider
  • Вызов: Provider::isAvailable
public function isAvailable(string $pageSettings, int $userId): bool;

/**
 * Returns counter id for a custom section page with $pageSettings
 * Returns null if there is no counter for the page
 *
 * @param string $pageSettings
 *
 * @return string|null
 */
public function getCounterId(string $pageSettings): ?string
{
	return null;
}