function BlockContentType::getDescription

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

Overrides BlockContentTypeInterface::getDescription

File

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

Class

BlockContentType
Defines the block type entity.

Namespace

Drupal\block_content\Entity

Code

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

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