You are here

public function ResourceDecoratorBase::disable in RESTful 7.2

Disable the resource.

Overrides ResourceInterface::disable

1 method overrides ResourceDecoratorBase::disable()
CacheDecoratedResource::disable in src/Plugin/resource/Decorators/CacheDecoratedResource.php
Disable the resource.

File

src/Plugin/resource/Decorators/ResourceDecoratorBase.php, line 305
Contains \Drupal\restful\Plugin\resource\Decorators\ResourceDecoratorBase.

Class

ResourceDecoratorBase
Class ResourceDecoratorBase.

Namespace

Drupal\restful\Plugin\resource\Decorators

Code

public function disable() {
  $this->subject
    ->disable();
}