You are here

public function ResourceDecoratorBase::enable in RESTful 7.2

Enable the resource.

Overrides ResourceInterface::enable

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

File

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

Class

ResourceDecoratorBase
Class ResourceDecoratorBase.

Namespace

Drupal\restful\Plugin\resource\Decorators

Code

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