You are here

public function Block::getPluginId in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/block/src/Entity/Block.php \Drupal\block\Entity\Block::getPluginId()

Returns the plugin ID.

Return value

string The plugin ID for this block.

Overrides BlockInterface::getPluginId

File

core/modules/block/src/Entity/Block.php, line 174

Class

Block
Defines a Block configuration entity class.

Namespace

Drupal\block\Entity

Code

public function getPluginId() {
  return $this->plugin;
}