checkSiteMode
\Bitrix\Landing\Source\Selector::checkSiteMode( array $modeList )
Method returns true, if current landing mode is found in the list of passed modes. Sources must check the current mode. For example, catalogs cannot be displayed in the site24 mode. See [link=16302172]handler example[/link]
Parameters
Method | Description | Available from version |
---|---|---|
$modeList | array with available modes (from the list below):
|
© «Bitrix24», 2001-2025