BlockInterface.php

Contains \Drupal\block\Plugin\Core\Entity\BlockInterface.

Namespace

Drupal\block

File

drupal/core/modules/block/lib/Drupal/block/BlockInterface.php
View source
<?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();

}

Interfaces

Namesort descending Description
BlockInterface Provides an interface defining a block entity.