diff --git a/core/modules/entity/lib/Drupal/entity/Plugin/Core/Entity/EntityViewMode.php b/core/modules/entity/lib/Drupal/entity/Plugin/Core/Entity/EntityViewMode.php index 9b9f25f..7aa105d 100644 --- a/core/modules/entity/lib/Drupal/entity/Plugin/Core/Entity/EntityViewMode.php +++ b/core/modules/entity/lib/Drupal/entity/Plugin/Core/Entity/EntityViewMode.php @@ -33,7 +33,9 @@ * id = "view_mode", * label = @Translation("View mode"), * module = "entity", - * controller_class = "Drupal\entity\EntityViewModeStorageController", + * controllers = { + * "storage" = "Drupal\entity\EntityViewModeStorageController" + * }, * config_prefix = "entity.view_mode", * entity_keys = { * "id" = "id", diff --git a/core/modules/system/system.install b/core/modules/system/system.install index 0236eaa..d0675e4 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -2146,7 +2146,7 @@ function system_update_8055() { * * @ingroup config_upgrade */ -function system_update_8054() { +function system_update_8056() { // We cannot call entity_get_info() in an update hook, so we hardcode the view // modes. Only the node entity type's teaser view mode is set to custom by // default, we check specifically for that below. The only way to add custom