You are here

public function AutocompletionConfiguration::__construct in Search Autocomplete 8

Same name and namespace in other branches
  1. 2.x src/Entity/AutocompletionConfiguration.php \Drupal\search_autocomplete\Entity\AutocompletionConfiguration::__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/AutocompletionConfiguration.php, line 217

Class

AutocompletionConfiguration
Defines the autocompletion_configuration entity.

Namespace

Drupal\search_autocomplete\Entity

Code

public function __construct(array $values, $entity_type_id = 'autocompletion_configuration') {
  parent::__construct($values, $entity_type_id);
}