You are here

BlockContentTypeInterface.php in Drupal 8

File

core/modules/block_content/src/BlockContentTypeInterface.php
View source
<?php

namespace Drupal\block_content;

use Drupal\Core\Config\Entity\ConfigEntityInterface;
use Drupal\Core\Entity\RevisionableEntityBundleInterface;

/**
 * Provides an interface defining a custom block type entity.
 */
interface BlockContentTypeInterface extends ConfigEntityInterface, RevisionableEntityBundleInterface {

  /**
   * Returns the description of the block type.
   *
   * @return string
   *   The description of the type of this block.
   */
  public function getDescription();

}

Interfaces

Namesort descending Description
BlockContentTypeInterface Provides an interface defining a custom block type entity.