You are here

public function Resource::disable in RESTful 7.2

Disable the resource.

Overrides ResourceInterface::disable

File

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

Class

Resource

Namespace

Drupal\restful\Plugin\resource

Code

public function disable() {
  $this->enabled = FALSE;
}