public function ConfigPagesType::__construct in Config Pages 8.3
Same name and namespace in other branches
- 8.2 src/Entity/ConfigPagesType.php \Drupal\config_pages\Entity\ConfigPagesType::__construct()
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/ ConfigPagesType.php, line 92 
Class
- ConfigPagesType
- Defines the config page type entity.
Namespace
Drupal\config_pages\EntityCode
public function __construct(array $values, $entity_type) {
  parent::__construct($values, $entity_type);
  $this->config_pages_context = \Drupal::service('plugin.manager.config_pages_context');
}