summaryrefslogtreecommitdiffstats
path: root/core/modules/node/src/Entity/Node.php
diff options
context:
space:
mode:
authorAlex Pott2017-05-15 13:05:40 +0100
committerAlex Pott2017-05-15 13:05:40 +0100
commit43981094712d4f3e716b919e7b59ae8e46c109c3 (patch)
tree48f704a609d21f3c5bf0ebbd74156044e079dc2b /core/modules/node/src/Entity/Node.php
parent09096d781952c9b716a8b619bb0f671a3c0c610c (diff)
Issue #2293697 by Wim Leers, dawehner, Jo Fitzgerald, clemens.tolboom, vedpareek, tedbow, Munavijayalakshmi, hchonov, alexpott, effulgentsia, tstoeckler, Crell, klausi, EclipseGc: EntityResource POST routes all use the confusing default: use entity types' https://www.drupal.org/link-relations/create link template if available
Diffstat (limited to 'core/modules/node/src/Entity/Node.php')
-rw-r--r--core/modules/node/src/Entity/Node.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modules/node/src/Entity/Node.php b/core/modules/node/src/Entity/Node.php
index b66628c..74a7c0b 100644
--- a/core/modules/node/src/Entity/Node.php
+++ b/core/modules/node/src/Entity/Node.php
@@ -74,6 +74,7 @@ use Drupal\user\UserInterface;
* "edit-form" = "/node/{node}/edit",
* "version-history" = "/node/{node}/revisions",
* "revision" = "/node/{node}/revisions/{node_revision}/view",
+ * "create" = "/node",
* }
* )
*/