You are here

public function EntityViewBuilderDecorator::__construct in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/EntityViewBuilderDecorator.php \Drupal\webprofiler\Entity\EntityViewBuilderDecorator::__construct()
  2. 8 webprofiler/src/Entity/EntityViewBuilderDecorator.php \Drupal\webprofiler\Entity\EntityViewBuilderDecorator::__construct()
  3. 8.2 webprofiler/src/Entity/EntityViewBuilderDecorator.php \Drupal\webprofiler\Entity\EntityViewBuilderDecorator::__construct()

Parameters

\Drupal\Core\Entity\EntityViewBuilderInterface $controller:

Overrides Decorator::__construct

File

webprofiler/src/Entity/EntityViewBuilderDecorator.php, line 21

Class

EntityViewBuilderDecorator
Class EntityViewBuilderDecorator.

Namespace

Drupal\webprofiler\Entity

Code

public function __construct(EntityViewBuilderInterface $controller) {
  parent::__construct($controller);
  $this->entities = [];
}