We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90f6a87 commit a49f29bCopy full SHA for a49f29b
templates/plugin/rest-resource/rest-resource.twig
@@ -21,7 +21,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
21
* label = @Translation("{{ plugin_label }}"),
22
* uri_paths = {
23
* "canonical" = "/api/{{ plugin_id|u2h }}/{id}",
24
- * "https://www.drupal.org/link-relations/create" = "/api/{{ plugin_id|u2h }}"
+ * "create" = "/api/{{ plugin_id|u2h }}"
25
* }
26
* )
27
*
tests/dcg/Generator/Plugin/_rest_resource.php
@@ -21,7 +21,7 @@
* label = @Translation("Foo"),
* "canonical" = "/api/example-foo/{id}",
- * "https://www.drupal.org/link-relations/create" = "/api/example-foo"
+ * "create" = "/api/example-foo"
0 commit comments