Contains \Drupal\block\Plugin\Core\Entity\BlockInterface.
<?php
/**
* @file
* Contains \Drupal\block\Plugin\Core\Entity\BlockInterface.
*/
namespace Drupal\block;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
/**
* Provides an interface defining a block entity.
*/
interface BlockInterface extends ConfigEntityInterface {
/**
* Returns the plugin instance.
*
* @return \Drupal\block\BlockPluginInterface
* The plugin instance for this block.
*/
public function getPlugin();
}
Name | Description |
---|---|
BlockInterface | Provides an interface defining a block entity. |