public function BlockInterface::getPlugin

Returns the plugin instance.

Return value

\Drupal\block\BlockPluginInterface The plugin instance for this block.

1 method overrides BlockInterface::getPlugin()
Block::getPlugin in drupal/core/modules/block/lib/Drupal/block/Plugin/Core/Entity/Block.php
Returns the plugin instance.

File

drupal/core/modules/block/lib/Drupal/block/BlockInterface.php, line 23
Contains \Drupal\block\Plugin\Core\Entity\BlockInterface.

Class

BlockInterface
Provides an interface defining a block entity.

Namespace

Drupal\block

Code

public function getPlugin();