RestResource::$label

The human-readable name of the resource plugin.

Type: \Drupal\Core\Annotation\Translation

Related topics

Annotation for translatable text
Describes how to put translatable UI text into annotations.

File

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

Class

RestResource
Defines a REST resource annotation object.

Namespace

Drupal\rest\Annotation

Code

1
public $label;
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.