You are here

public function EntitySuggestion::setEntityTypeId in Linkit 8.5

Sets the entity type id.

Parameters

string $entity_type_id: The entity type id.

Return value

$this

File

src/Suggestion/EntitySuggestion.php, line 52

Class

EntitySuggestion
Defines a entity suggestion.

Namespace

Drupal\linkit\Suggestion

Code

public function setEntityTypeId($entity_type_id) {
  $this->entityTypeId = $entity_type_id;
  return $this;
}