public static function SetInlineBlockDependency::getSubscribedEvents in Drupal 8
Same name and namespace in other branches
- 9 core/modules/layout_builder/src/EventSubscriber/SetInlineBlockDependency.php \Drupal\layout_builder\EventSubscriber\SetInlineBlockDependency::getSubscribedEvents()
- 10 core/modules/layout_builder/src/EventSubscriber/SetInlineBlockDependency.php \Drupal\layout_builder\EventSubscriber\SetInlineBlockDependency::getSubscribedEvents()
File
- core/
modules/ layout_builder/ src/ EventSubscriber/ SetInlineBlockDependency.php, line 82
Class
- SetInlineBlockDependency
- An event subscriber that returns an access dependency for inline blocks.
Namespace
Drupal\layout_builder\EventSubscriberCode
public static function getSubscribedEvents() {
return [
BlockContentEvents::BLOCK_CONTENT_GET_DEPENDENCY => 'onGetDependency',
];
}