You are here

public property RestResource::$label in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/rest/src/Annotation/RestResource.php \Drupal\rest\Annotation\RestResource::label
  2. 10 core/modules/rest/src/Annotation/RestResource.php \Drupal\rest\Annotation\RestResource::label

The human-readable name of the REST resource plugin.

Type: \Drupal\Core\Annotation\Translation

Related topics

File

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

Class

RestResource
Defines a REST resource annotation object.

Namespace

Drupal\rest\Annotation

Code

public $label;