You are here

public function AuthorPane::__construct in Author Pane 8.3

Constructs an Entity object.

Parameters

array $values: An array of values to set, keyed by property name. If the entity type has bundles, the bundle key has to be specified.

string $entity_type: The type of the entity to create.

Overrides ConfigEntityBase::__construct

File

src/Entity/AuthorPane.php, line 77
Contains \Drupal\author_pane\Entity\AuthorPane.

Class

AuthorPane
Defines an AuthorPane configuration entity class.

Namespace

Drupal\author_pane\Entity

Code

public function __construct(array $values, $entity_type) {
  parent::__construct($values, $entity_type);
  $this->datumPluginManager = \Drupal::service('plugin.manager.authorpane.datum');
}