function BlockVariantEvent::getBlock

Same name in other branches
  1. 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

BlockVariantEvent

Namespace

Drupal\ctools\Event

Code

public function getBlock() {
    return $this->block;
}