RestResource::$uri_paths

Same name in other branches
  1. 8.9.x core/modules/rest/src/Annotation/RestResource.php \Drupal\rest\Annotation\RestResource::uri_paths
  2. 10 core/modules/rest/src/Annotation/RestResource.php \Drupal\rest\Annotation\RestResource::uri_paths
  3. 11.x core/modules/rest/src/Annotation/RestResource.php \Drupal\rest\Annotation\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 = [];

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