You are here

public function AutocompletionConfiguration::__construct in Search Autocomplete 2.x

Same name and namespace in other branches
  1. 8 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 238

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);
}