Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RestResource.php

RestResource::$label

The human-readable name of the REST 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

public $label;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal