Issue #2461671 by keopx, er.pushpinderrana, marieke_h, jhodgdon, alexpott, Berdir, joachim: Entity::load() docs has parameter that is not needed due to inheritdoc

8.1.x
Alex Pott 2015-12-24 10:12:16 +01:00
parent b528f26064
commit 9d5bf0bd1e
1 changed files with 0 additions and 15 deletions

View File

@ -320,11 +320,6 @@ abstract class Entity implements EntityInterface {
/**
* {@inheritdoc}
*
* Returns a list of URI relationships supported by this entity.
*
* @return array
* An array of link relationships supported by this entity.
*/
public function uriRelationships() {
return array_keys($this->linkTemplates());
@ -497,9 +492,6 @@ abstract class Entity implements EntityInterface {
/**
* {@inheritdoc}
*
* @return static|null
* The entity object or NULL if there is no entity with the given ID.
*/
public static function load($id) {
$entity_manager = \Drupal::entityManager();
@ -508,10 +500,6 @@ abstract class Entity implements EntityInterface {
/**
* {@inheritdoc}
*
* @return static[]
* An array of entity objects indexed by their IDs. Returns an empty array
* if no matching entities are found.
*/
public static function loadMultiple(array $ids = NULL) {
$entity_manager = \Drupal::entityManager();
@ -520,9 +508,6 @@ abstract class Entity implements EntityInterface {
/**
* {@inheritdoc}
*
* @return static
* The entity object.
*/
public static function create(array $values = array()) {
$entity_manager = \Drupal::entityManager();