public function EntityDefinitionUpdateManager::needsUpdates
public EntityDefinitionUpdateManager::needsUpdates()
Checks if there are any definition updates that need to be applied.
Return value
bool TRUE if updates are needed.
Overrides EntityDefinitionUpdateManagerInterface::needsUpdates
File
- core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php, line 37
Class
- EntityDefinitionUpdateManager
- Manages entity definition updates.
Namespace
Drupal\Core\EntityCode
public function needsUpdates() { return (bool) $this->getChangeList(); }
© 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!EntityDefinitionUpdateManager.php/function/EntityDefinitionUpdateManager::needsUpdates/8.1.x