function BlockContentGetDependencyEvent::getAccessDependency
Same name in other branches
- 9 core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php \Drupal\block_content\Event\BlockContentGetDependencyEvent::getAccessDependency()
- 8.9.x core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php \Drupal\block_content\Event\BlockContentGetDependencyEvent::getAccessDependency()
- 11.x core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php \Drupal\block_content\Event\BlockContentGetDependencyEvent::getAccessDependency()
Gets the access dependency.
Return value
\Drupal\Core\Access\AccessibleInterface The access dependency.
File
-
core/
modules/ block_content/ src/ Event/ BlockContentGetDependencyEvent.php, line 56
Class
- BlockContentGetDependencyEvent
- Block content event to allow setting an access dependency.
Namespace
Drupal\block_content\EventCode
public function getAccessDependency() {
return $this->accessDependency;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.