Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / rest / src / Plugin / Deriver / EntityDeriver.php
index 010fad7363e61319b1e5e66c8d72bcc1a423171a..a74e8b2a61f650a2d83acdab52f213b7fc8b28a0 100644 (file)
@@ -74,7 +74,7 @@ class EntityDeriver implements ContainerDeriverInterface {
 
         $default_uris = [
           'canonical' => "/entity/$entity_type_id/" . '{' . $entity_type_id . '}',
-          'https://www.drupal.org/link-relations/create' => "/entity/$entity_type_id",
+          'create' => "/entity/$entity_type_id",
         ];
 
         foreach ($default_uris as $link_relation => $default_uri) {