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

Breadcrumb

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

RestResource::$uri_paths

The URI paths that this REST resource plugin provides.

Key-value pairs, with link relation type plugin IDs as keys, and URL templates as values.

Type: string[]

See also

core/core.link_relation_types.yml

File

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

Class

RestResource
Defines a REST resource annotation object.

Namespace

Drupal\rest\Annotation

Code

public $uri_paths = [];

API Navigation

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