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\Entity

Code

1
2
3
public function needsUpdates() {
  return (bool) $this->getChangeList();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.