function BlockVariantEvent::getBlock
Same name in other branches
- 4.0.x src/Event/BlockVariantEvent.php \Drupal\ctools\Event\BlockVariantEvent::getBlock()
Gets the block plugin.
Return value
\Drupal\Core\Block\BlockPluginInterface
File
-
src/
Event/ BlockVariantEvent.php, line 46
Class
Namespace
Drupal\ctools\EventCode
public function getBlock() {
return $this->block;
}