summaryrefslogtreecommitdiffstats
path: root/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
diff options
context:
space:
mode:
authorAlex Pott2016-10-13 11:24:47 +0100
committerAlex Pott2016-10-13 11:24:47 +0100
commit5233c3d2b8b7d124c4f1424a6185fd649dae16d5 (patch)
treee66cd1f1faf4acc5a4fd5238cc1424e8b1216bcf /core/modules/rest/src/Plugin/rest/resource/EntityResource.php
parentc3b3ec1be545d3057a0975444623d0bc5ede4078 (diff)
Issue #2815063 by minakshiPh: 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 78ee0c9..1e03c65 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 have an empty body.
+ // Delete responses which have an empty body.
return new ModifiedResourceResponse(NULL, 204);
}
catch (EntityStorageException $e) {