function BlockContentGetDependencyEvent::getBlockContentEntity
Gets the block content entity.
Return value
\Drupal\block_content\BlockContentInterface The block content entity.
File
-
core/
modules/ block_content/ src/ Event/ BlockContentGetDependencyEvent.php, line 46
Class
- BlockContentGetDependencyEvent
- Block content event to allow setting an access dependency.
Namespace
Drupal\block_content\EventCode
public function getBlockContentEntity() {
return $this->blockContent;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.