BlockContentGetDependencyEvent::$accessDependency
Same name in other branches
- 8.9.x core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php \Drupal\block_content\Event\BlockContentGetDependencyEvent::accessDependency
- 10 core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php \Drupal\block_content\Event\BlockContentGetDependencyEvent::accessDependency
- 11.x core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php \Drupal\block_content\Event\BlockContentGetDependencyEvent::accessDependency
The dependency.
Type: \Drupal\Core\Access\AccessibleInterface
File
-
core/
modules/ block_content/ src/ Event/ BlockContentGetDependencyEvent.php, line 28
Class
- BlockContentGetDependencyEvent
- Block content event to allow setting an access dependency.
Namespace
Drupal\block_content\EventCode
protected $accessDependency;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.