RestResource::$label

Same name in other branches
  1. 9 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
  3. 11.x 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.