summaryrefslogtreecommitdiffstats
path: root/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
diff options
context:
space:
mode:
authorNathaniel Catchpole2016-10-21 16:49:25 +0100
committerNathaniel Catchpole2016-10-21 16:49:25 +0100
commit1f1f20fe0a991b9bf5148d5551acb4ee77646d86 (patch)
tree71348765297c4e91c95ba6ba76cf12e4b518d7c1 /core/modules/rest/src/Plugin/rest/resource/EntityResource.php
parentb33af7a964ee34171e3328c3276d63551a7c4fd4 (diff)
Issue #2815063 by leeotzu, shruti1803, minakshiPh, lomasr, Yogesh Pawar, Chi: Typo in EntityResource::delete()
Diffstat (limited to 'core/modules/rest/src/Plugin/rest/resource/EntityResource.php')
-rw-r--r--core/modules/rest/src/Plugin/rest/resource/EntityResource.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/rest/src/Plugin/rest/resource/EntityResource.php b/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
index 1e03c65..55ce64a 100644
--- a/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
+++ b/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
@@ -263,7 +263,7 @@ class EntityResource extends ResourceBase implements DependentPluginInterface {
$entity->delete();
$this->logger->notice('Deleted entity %type with ID %id.', array('%type' => $entity->getEntityTypeId(), '%id' => $entity->id()));
- // Delete responses which have an empty body.
+ // DELETE responses have an empty body.
return new ModifiedResourceResponse(NULL, 204);
}
catch (EntityStorageException $e) {