You are here

public property Resource::$allowOrigin in RESTful 7.2

Access control using the HTTP Access-Control-Allow-Origin header.

Type: string

File

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

Class

Resource
Defines a Resource annotation object.

Namespace

Drupal\restful\Annotation

Code

public $allowOrigin;