public function EntityDataDefinitionInterface::setEntityTypeId in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php \Drupal\Core\Entity\TypedData\EntityDataDefinitionInterface::setEntityTypeId()
Sets the entity type ID.
Parameters
string $entity_type_id: The entity type to set.
Return value
$this
1 method overrides EntityDataDefinitionInterface::setEntityTypeId()
- EntityDataDefinition::setEntityTypeId in core/
lib/ Drupal/ Core/ Entity/ TypedData/ EntityDataDefinition.php - Sets the entity type ID.
File
- core/
lib/ Drupal/ Core/ Entity/ TypedData/ EntityDataDefinitionInterface.php, line 28
Class
- EntityDataDefinitionInterface
- Interface for typed data entity definitions.
Namespace
Drupal\Core\Entity\TypedDataCode
public function setEntityTypeId($entity_type_id);