BlockContentTypeInterface.php

Same filename in other branches
  1. 9 core/modules/block_content/src/BlockContentTypeInterface.php
  2. 8.9.x core/modules/block_content/src/BlockContentTypeInterface.php
  3. 11.x core/modules/block_content/src/BlockContentTypeInterface.php

Namespace

Drupal\block_content

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 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

Title Deprecated Summary
BlockContentTypeInterface Provides an interface defining a block type entity.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.