public static function EntityUpdate::getEntityTypesToUpdate in Entity Update 8
Same name and namespace in other branches
- 2.0.x src/EntityUpdate.php \Drupal\entity_update\EntityUpdate::getEntityTypesToUpdate()
Get Entity types to update.
Return value
array The list of entities to update.
13 calls to EntityUpdate::getEntityTypesToUpdate()
- drush_entity_update in ./
entity_update.drush.inc - Call back function of entity-update.
- EntityCheck::showEntityStatusCli in src/
EntityCheck.php - Print entity status to the terminal.
- EntityUpdate::basicUpdate in src/
EntityUpdate.php - Update all empty entities.
- EntityUpdate::safeUpdateEntityType in src/
EntityUpdate.php - Update an entity type.
- EntityUpdate::safeUpdateMain in src/
EntityUpdate.php - Update all entities.
File
- src/
EntityUpdate.php, line 379
Class
- EntityUpdate
- EntityUpdate Main Class.
Namespace
Drupal\entity_updateCode
public static function getEntityTypesToUpdate($type_id = NULL) {
$list = entity_update_get_entity_changes();
foreach ($list as $entity_type_id => $entity_change_summery) {
if (!$type_id || $type_id == $entity_type_id) {
$list[$entity_type_id] = $entity_change_summery;
}
}
return $list;
}