onLandingAfterUnPublication
Event is called after page is removed from publication.
Attention: When a site is removed from publication, an event is called for each page inside it.
$eventManager = \Bitrix\Main\EventManager::getInstance(); $eventManager->addEventHandler('landing', 'onLandingAfterUnPublication', function(\Bitrix\Main\Event $event) { $id = $event->getParameter('id'); AddMessage2Log('Landing #id '. $id . ' now removed from publication'); } );
© «Bitrix24», 2001-2024