You are here

public function BlockContentType::getDescription in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/block_content/src/Entity/BlockContentType.php \Drupal\block_content\Entity\BlockContentType::getDescription()

Returns the description of the block type.

Return value

string The description of the type of this block.

Overrides BlockContentTypeInterface::getDescription

File

core/modules/block_content/src/Entity/BlockContentType.php, line 86

Class

BlockContentType
Defines the custom block type entity.

Namespace

Drupal\block_content\Entity

Code

public function getDescription() {
  return $this->description;
}