function EntityTestBlock::__construct

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/modules/entity_test/src/Plugin/Block/EntityTestBlock.php \Drupal\entity_test\Plugin\Block\EntityTestBlock::__construct()

File

core/modules/system/tests/modules/entity_test/src/Plugin/Block/EntityTestBlock.php, line 22

Class

EntityTestBlock
Provides a block that renders an entity with parallel placeholder rendering.

Namespace

Drupal\entity_test\Plugin\Block

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, protected EntityTypeManagerInterface $entityTypeManager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
}

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