You are here

protected property EntityBlock::$entityViewBuilder in Entity Blocks 8

The view builder for our entity type.

Type: \Drupal\Core\Entity\EntityViewBuilderInterface

File

src/Plugin/Block/EntityBlock.php, line 50

Class

EntityBlock
Provides the block for similar articles.

Namespace

Drupal\entity_block\Plugin\Block

Code

protected $entityViewBuilder;