Commit 9d5bf0bd authored by alexpott's avatar alexpott

Issue #2461671 by keopx, er.pushpinderrana, marieke_h, jhodgdon, alexpott,...

Issue #2461671 by keopx, er.pushpinderrana, marieke_h, jhodgdon, alexpott, Berdir, joachim: Entity::load() docs has parameter that is not needed due to inheritdoc
parent b528f260
......@@ -320,11 +320,6 @@ protected function urlRouteParameters($rel) {
/**
* {@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 @@ public function getCacheMaxAge() {
/**
* {@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 @@ public static function load($id) {
/**
* {@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 @@ public static function loadMultiple(array $ids = NULL) {
/**
* {@inheritdoc}
*
* @return static
* The entity object.
*/
public static function create(array $values = array()) {
$entity_manager = \Drupal::entityManager();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment