public function BaseBlockEvent::getBlock in Hook Event Dispatcher 8
Get the block.
Return value
\Drupal\Core\Block\BlockPluginInterface The block object.
File
- src/
Event/ Block/ BaseBlockEvent.php, line 68
Class
- BaseBlockEvent
- Class BaseBlockEvent.
Namespace
Drupal\hook_event_dispatcher\Event\BlockCode
public function getBlock() {
return $this->block;
}