diff --git a/core/lib/Drupal/Core/Field/FieldDefinition.php b/core/lib/Drupal/Core/Field/FieldDefinition.php index 27e84cc..e5f4734 100644 --- a/core/lib/Drupal/Core/Field/FieldDefinition.php +++ b/core/lib/Drupal/Core/Field/FieldDefinition.php @@ -498,7 +498,7 @@ public function hasCustomStorage() { * Sets the storage behavior for this field. * * @param bool $custom_storage - * Pass FALSE if the storage controller takes care of storing the field, + * Pass FALSE if the storage takes care of storing the field, * TRUE otherwise. * * @return $this diff --git a/core/lib/Drupal/Core/Field/FieldDefinitionInterface.php b/core/lib/Drupal/Core/Field/FieldDefinitionInterface.php index 94eb207..61a879b 100644 --- a/core/lib/Drupal/Core/Field/FieldDefinitionInterface.php +++ b/core/lib/Drupal/Core/Field/FieldDefinitionInterface.php @@ -347,13 +347,12 @@ public function getColumns(); /** * Returns the storage behavior for this field. * - * Indicates whether the entity type's storage controller should take care of - * storing the field values or whether it is handled separately; e.g. by the + * Indicates whether the entity type's storage should take care of storing the + * field values or whether it is handled separately; e.g. by the * module providing the field. * * @return bool - * FALSE if the storage controller takes care of storing the field, TRUE - * otherwise. + * FALSE if the storage takes care of storing the field, TRUE otherwise. */ public function hasCustomStorage(); diff --git a/core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php b/core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php index 80a81c5..e44a2c1 100644 --- a/core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php +++ b/core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php @@ -37,7 +37,7 @@ class BookAdminEditForm extends FormBase { * Constructs a new BookAdminEditForm. * * @param \Drupal\Core\Entity\EntityStorageInterface $node_storage - * The custom block storage controller. + * The custom block storage. * @param \Drupal\book\BookManagerInterface $book_manager * The book manager. */ diff --git a/core/modules/menu/lib/Drupal/menu/MenuFormController.php b/core/modules/menu/lib/Drupal/menu/MenuFormController.php index 060db8c..9e0cfa9 100644 --- a/core/modules/menu/lib/Drupal/menu/MenuFormController.php +++ b/core/modules/menu/lib/Drupal/menu/MenuFormController.php @@ -54,7 +54,7 @@ class MenuFormController extends EntityFormController { * @param \Drupal\Core\Entity\Query\QueryFactory $entity_query_factory * The factory for entity queries. * @param \Drupal\menu_link\MenuLinkStorageInterface $menu_link_storage - * The menu link storage controller. + * The menu link storage. * @param \Drupal\menu_link\MenuTreeInterface $menu_tree * The menu tree service. */ diff --git a/core/modules/menu_link/lib/Drupal/menu_link/MenuTree.php b/core/modules/menu_link/lib/Drupal/menu_link/MenuTree.php index b0a69f6..ecf756a 100644 --- a/core/modules/menu_link/lib/Drupal/menu_link/MenuTree.php +++ b/core/modules/menu_link/lib/Drupal/menu_link/MenuTree.php @@ -52,9 +52,9 @@ class MenuTree implements MenuTreeInterface { protected $requestStack; /** - * The menu link storage controller. + * The menu link storage. * - * @var \Drupal\menu_link\MenuLinkStorageControllerInterface + * @var \Drupal\menu_link\MenuLinkStorageInterface */ protected $menuLinkStorage; @@ -139,7 +139,7 @@ public function __construct(Connection $database, CacheBackendInterface $cache_b $this->cache = $cache_backend; $this->languageManager = $language_manager; $this->requestStack = $request_stack; - $this->menuLinkStorage = $entity_manager->getStorageController('menu_link'); + $this->menuLinkStorage = $entity_manager->getStorage('menu_link'); $this->queryFactory = $entity_query_factory; $this->state = $state; } diff --git a/core/modules/text/lib/Drupal/text/Tests/TextWithSummaryItemTest.php b/core/modules/text/lib/Drupal/text/Tests/TextWithSummaryItemTest.php index 6d50f34..d431776 100644 --- a/core/modules/text/lib/Drupal/text/Tests/TextWithSummaryItemTest.php +++ b/core/modules/text/lib/Drupal/text/Tests/TextWithSummaryItemTest.php @@ -153,7 +153,7 @@ function testProcessedCache() { ), ), ); - \Drupal::entityManager()->getStorageController($entity_type)->resetCache(); + \Drupal::entityManager()->getStorage($entity_type)->resetCache(); \Drupal::cache('entity')->set("values:$entity_type:" . $entity->id(), $data); $entity = entity_load($entity_type, $entity->id()); $this->assertEqual($entity->summary_field->processed, 'Cached processed value');