summaryrefslogtreecommitdiffstats
path: root/core/modules/node/src/Entity/Node.php
diff options
context:
space:
mode:
authorAlex Pott2015-01-13 10:32:23 +0000
committerAlex Pott2015-01-13 10:32:23 +0000
commit77725b6084af36684ec7262c99d11418c38f09fd (patch)
treecc5bc1d8213578519c8e179ed576e5d63fc25d80 /core/modules/node/src/Entity/Node.php
parente298180f76b5e65f68c40d3c6de0761c26eee480 (diff)
Issue #2281645 by dawehner, andypost: Make entity annotations use link templates instead of route names
Diffstat (limited to 'core/modules/node/src/Entity/Node.php')
-rw-r--r--core/modules/node/src/Entity/Node.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/modules/node/src/Entity/Node.php b/core/modules/node/src/Entity/Node.php
index 4e7dc84..40d0053 100644
--- a/core/modules/node/src/Entity/Node.php
+++ b/core/modules/node/src/Entity/Node.php
@@ -57,10 +57,10 @@ use Drupal\user\UserInterface;
* field_ui_base_route = "entity.node_type.edit_form",
* permission_granularity = "bundle",
* links = {
- * "canonical" = "entity.node.canonical",
- * "delete-form" = "entity.node.delete_form",
- * "edit-form" = "entity.node.edit_form",
- * "version-history" = "entity.node.version_history",
+ * "canonical" = "/node/{node}",
+ * "delete-form" = "/node/{node}/delete",
+ * "edit-form" = "/node/{node}/edit",
+ * "version-history" = "/node/{node}/revisions",
* }
* )
*/