diff --git a/core/modules/block_content/src/BlockContentListBuilder.php b/core/modules/block_content/src/BlockContentListBuilder.php index 731f2da..b3b5024 100644 --- a/core/modules/block_content/src/BlockContentListBuilder.php +++ b/core/modules/block_content/src/BlockContentListBuilder.php @@ -22,14 +22,23 @@ class BlockContentListBuilder extends EntityListBuilder { */ public function buildHeader() { $header['label'] = t('Block description'); + $header['type'] = t('Block type'); return $header + parent::buildHeader(); } /** * {@inheritdoc} */ + public function getType(EntityInterface $entity) { + return $entity->bundle(); + } + + /** + * {@inheritdoc} + */ public function buildRow(EntityInterface $entity) { $row['label'] = $this->getLabel($entity); + $row['type'] = $this->getType($entity); return $row + parent::buildRow($entity); }