summaryrefslogtreecommitdiffstats
path: root/core/modules/rest/src/Plugin/ResourceBase.php
diff options
context:
space:
mode:
authorAlex Pott2016-06-19 13:41:10 (GMT)
committerAlex Pott2016-06-19 13:41:10 (GMT)
commit871da5e4f723b5b1928956c495a0f148e4cbbaff (patch)
tree3f6e42c521915dd5c71c9077264ae144c1bbbbb8 /core/modules/rest/src/Plugin/ResourceBase.php
parent9bb1c3691c257f1a89c7545da9f1ec2aaa7c4dc9 (diff)
Issue #2308745 by Alumei, dawehner, Wim Leers, larowlan, Arla, alexpott, g.oechsler, R.Muilwijk, Berdir, catch, klausi, clemens.tolboom, MattA, Crell: Remove rest.settings.yml, use rest_resource config entities
Diffstat (limited to 'core/modules/rest/src/Plugin/ResourceBase.php')
-rw-r--r--core/modules/rest/src/Plugin/ResourceBase.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/modules/rest/src/Plugin/ResourceBase.php b/core/modules/rest/src/Plugin/ResourceBase.php
index 33cb3aa..549ac54 100644
--- a/core/modules/rest/src/Plugin/ResourceBase.php
+++ b/core/modules/rest/src/Plugin/ResourceBase.php
@@ -194,8 +194,6 @@ abstract class ResourceBase extends PluginBase implements ContainerFactoryPlugin
$route = new Route($canonical_path, array(
'_controller' => 'Drupal\rest\RequestHandler::handle',
- // Pass the resource plugin ID along as default property.
- '_plugin' => $this->pluginId,
), array(
'_permission' => "restful $lower_method $this->pluginId",
),