You are here

public property RestResource::$id in Drupal 9

Same name and namespace in other branches
  1. 8 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

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;