BlockContentGetDependencyEvent::$blockContent

Same name in other branches
  1. 8.9.x core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php \Drupal\block_content\Event\BlockContentGetDependencyEvent::blockContent
  2. 10 core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php \Drupal\block_content\Event\BlockContentGetDependencyEvent::blockContent
  3. 11.x core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php \Drupal\block_content\Event\BlockContentGetDependencyEvent::blockContent

The block content entity.

Type: \Drupal\block_content\BlockContentInterface

File

core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php, line 21

Class

BlockContentGetDependencyEvent
Block content event to allow setting an access dependency.

Namespace

Drupal\block_content\Event

Code

protected $blockContent;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.