diff -u b/core/includes/entity.inc b/core/includes/entity.inc --- b/core/includes/entity.inc +++ b/core/includes/entity.inc @@ -97,7 +97,7 @@ * id. * * @deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use - * the entity storage's loadRevision method to load a specific entity + * the entity storage's loadRevision() method to load a specific entity * revision: * @code * \Drupal::entityManager()->getStorage($entity_type)->loadRevision($revision_id); @@ -122,7 +122,7 @@ * The revision ID to delete. * * @deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use - * the entity storage's deleteRevision method to delete a specific entity + * the entity storage's deleteRevision() method to delete a specific entity * revision: * @code * \Drupal::entityManager()->getStorage($entity_type)>deleteRevision($revision_id); @@ -203,7 +203,7 @@ * no matching entities are found. * * @deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use - * the entity storage's loadByProperties method to load an entity by their + * the entity storage's loadByProperties() method to load an entity by their * property values: * @code * \Drupal::entityManager()->getStorage($entity_type)->loadByProperties($values); @@ -235,7 +235,7 @@ * The unchanged entity, or FALSE if the entity cannot be loaded. * * @deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use - * the entity storage's loadUnchanged method to load an unchanged entity: + * the entity storage's loadUnchanged() method to load an unchanged entity: * @code * \Drupal::entityManager()->getStorage($entity_type)->loadUnchanged($id). * @endcode @@ -258,7 +258,7 @@ * An array of entity IDs of the entities to delete. * * @deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use - * the entity storage's delete method to delete multiple entities: + * the entity storage's delete() method to delete multiple entities: * @code * $storage_handler = \Drupal::entityManager()->getStorage($entity_type); * $entities = $storage_handler->loadMultiple($ids); @@ -290,7 +290,7 @@ * @deprecated in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use * The method overriding Entity::create() for the entity type, e.g. * \Drupal\node\Entity\Node::create() if the entity type is known. If the - * entity type is variable, use the entity storage's create method to + * entity type is variable, use the entity storage's create() method to * construct a new entity: * @code * \Drupal::entityManager()->getStorage($entity_type)->create($values) @@ -319,7 +319,7 @@ * The label of the entity, or NULL if there is no label defined. * * @deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use - * the entity's label method to get the label of the entity: + * the entity's label() method to get the label of the entity: * @code * $entity->label($langcode); * @endcode @@ -348,7 +348,7 @@ * A render array for the entity. * * @deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. - * Use the entity view builder's view method for creating a render array: + * Use the entity view builder's view() method for creating a render array: * @code * $view_builder = \Drupal::entityManager()->getViewBuilder($entity->getEntityTypeId()); * return $view_builder->view($entity, $view_mode, $langcode); @@ -384,7 +384,7 @@ * entities array passed in $entities. * * @deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. - * Use the entity view builder's viewMultiple method for creating a render + * Use the entity view builder's viewMultiple() method for creating a render * array for the provided entities: * @code * $view_builder = \Drupal::entityManager()->getViewBuilder($entity->getEntityTypeId());