EntityDefinitionUpdateManagerInterface::applyUpdates

Applies all the detected valid changes.

Use this with care, as it will apply updates for any module, which will lead to unpredictable results.

Throws

\Drupal\Core\Entity\EntityStorageException This exception is thrown if a change cannot be applied without unacceptable data loss. In such a case, the site administrator needs to apply some other process, such as a custom update function or a migration via the Migrate module.

File

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

Class

EntityDefinitionUpdateManagerInterface
Defines an interface for managing entity definition updates.

Namespace

Drupal\Core\Entity

Code

public function applyUpdates();
doc_Drupal
2016-10-29 09:05:02
Comments
Leave a Comment

Please login to continue.