summaryrefslogtreecommitdiffstats
path: root/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
diff options
context:
space:
mode:
authorNathaniel Catchpole2016-04-05 08:33:37 +0900
committerNathaniel Catchpole2016-04-05 08:33:37 +0900
commit4dbaa8b017a1dd3e3ced4bcbc65ac0786194fbcd (patch)
tree66fe62dec5399b76ad8fc440ff42d00ec21efd61 /core/modules/rest/src/Plugin/rest/resource/EntityResource.php
parentfa4ec00fd13322fee4e2d32def0d3e334908d040 (diff)
Issue #2696919 by chgasparoto, snehi: EntityResource annotation class has @see after plugin annotation
Diffstat (limited to 'core/modules/rest/src/Plugin/rest/resource/EntityResource.php')
-rw-r--r--core/modules/rest/src/Plugin/rest/resource/EntityResource.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/rest/src/Plugin/rest/resource/EntityResource.php b/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
index a830d97..58270a4 100644
--- a/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
+++ b/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
@@ -18,6 +18,8 @@ use Symfony\Component\HttpKernel\Exception\HttpException;
/**
* Represents entities as resources.
*
+ * @see \Drupal\rest\Plugin\Deriver\EntityDeriver
+ *
* @RestResource(
* id = "entity",
* label = @Translation("Entity"),
@@ -28,8 +30,6 @@ use Symfony\Component\HttpKernel\Exception\HttpException;
* "https://www.drupal.org/link-relations/create" = "/entity/{entity_type}"
* }
* )
- *
- * @see \Drupal\rest\Plugin\Deriver\EntityDeriver
*/
class EntityResource extends ResourceBase {