diff --git a/core/modules/block/lib/Drupal/block/Entity/Block.php b/core/modules/block/lib/Drupal/block/Entity/Block.php index 886ec42583b81001f70206e1f63c6686aee52254..f9218347b1391bfff66f4a9282da6f6a31b75134 100644 --- a/core/modules/block/lib/Drupal/block/Entity/Block.php +++ b/core/modules/block/lib/Drupal/block/Entity/Block.php @@ -37,6 +37,9 @@ * "id" = "id", * "label" = "label", * "uuid" = "uuid" + * }, + * links = { + * "edit-form" = "admin/structure/block/manage/{block}" * } * ) */ @@ -114,18 +117,6 @@ public function getPlugin() { return $this->pluginBag->get($this->plugin); } - /** - * Overrides \Drupal\Core\Entity\Entity::uri(); - */ - public function uri() { - return array( - 'path' => 'admin/structure/block/manage/' . $this->id(), - 'options' => array( - 'entity_type' => $this->entityType, - 'entity' => $this, - ), - ); - } /** * Overrides \Drupal\Core\Entity\Entity::label(); */