You are here

public property Resource::$discoverable in RESTful 7.2

Determines if a resource should be discoverable, and appear under /api.

Type: bool

File

src/Annotation/Resource.php, line 135
Contains \Drupal\restful\Annotation\Resource.

Class

Resource
Defines a Resource annotation object.

Namespace

Drupal\restful\Annotation

Code

public $discoverable = TRUE;