public function EntityDefinitionUpdateManagerInterface::updateEntityType

public EntityDefinitionUpdateManagerInterface::updateEntityType(EntityTypeInterface $entity_type)

Applies any change performed to the passed entity type definition.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

File

core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php, line 125

Class

EntityDefinitionUpdateManagerInterface
Defines an interface for managing entity definition updates.

Namespace

Drupal\Core\Entity

Code

public function updateEntityType(EntityTypeInterface $entity_type);

© 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!EntityDefinitionUpdateManagerInterface.php/function/EntityDefinitionUpdateManagerInterface::updateEntityType/8.1.x