RestResource::$id

Same name in other branches
  1. 9 core/modules/rest/src/Annotation/RestResource.php \Drupal\rest\Annotation\RestResource::id
  2. 10 core/modules/rest/src/Annotation/RestResource.php \Drupal\rest\Annotation\RestResource::id
  3. 11.x core/modules/rest/src/Annotation/RestResource.php \Drupal\rest\Annotation\RestResource::id

The REST resource plugin ID.

Type: string

File

core/modules/rest/src/Annotation/RestResource.php, line 30

Class

RestResource
Defines a REST resource annotation object.

Namespace

Drupal\rest\Annotation

Code

public $id;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.