RestResource::$label

Same name and namespace in other branches
  1. 9 core/modules/rest/src/Annotation/RestResource.php \Drupal\rest\Annotation\RestResource::label
  2. 8.9.x core/modules/rest/src/Annotation/RestResource.php \Drupal\rest\Annotation\RestResource::label
  3. 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;

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