public function EntityDefinitionUpdateManager::needsUpdates in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php \Drupal\Core\Entity\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 42 - Contains \Drupal\Core\Entity\EntityDefinitionUpdateManager.
Class
- EntityDefinitionUpdateManager
- Manages entity definition updates.
Namespace
Drupal\Core\EntityCode
public function needsUpdates() {
return (bool) $this
->getChangeList();
}