public function Block::getPluginId in Drupal 10
Same name and namespace in other branches
- 8 core/modules/block/src/Entity/Block.php \Drupal\block\Entity\Block::getPluginId()
- 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\EntityCode
public function getPluginId() {
return $this->plugin;
}