public function EntityDataDefinitionInterface::setEntityTypeId
public EntityDataDefinitionInterface::setEntityTypeId($entity_type_id)
Sets the entity type ID.
Parameters
string $entity_type_id: The entity type to set.
Return value
$this
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);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!TypedData!EntityDataDefinitionInterface.php/function/EntityDataDefinitionInterface::setEntityTypeId/8.1.x