Skip to content
Snippets Groups Projects
Commit d2004360 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2083615 followup by Gábor Hojtsy: Use links annotation for config...

Issue #2083615 followup by Gábor Hojtsy: Use links annotation for config entity URI like for content entities.
parent 9c15199f
No related branches found
No related tags found
No related merge requests found
......@@ -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();
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment