You are here

public function Resource::enable in RESTful 7.2

Enable the resource.

Overrides ResourceInterface::enable

File

src/Plugin/resource/Resource.php, line 545
Contains \Drupal\restful\Plugin\resource\Resource.

Class

Resource

Namespace

Drupal\restful\Plugin\resource

Code

public function enable() {
  $this->enabled = TRUE;
}