You are here

public function CacheDecoratedResource::isEnabled in RESTful 7.2

Checks if the resource is enabled.

Return value

bool TRUE if the resource plugin is enabled.

Overrides ResourceDecoratorBase::isEnabled

File

src/Plugin/resource/Decorators/CacheDecoratedResource.php, line 285
Contains \Drupal\restful\Plugin\resource\Decorators\CacheDecoratedResource

Class

CacheDecoratedResource

Namespace

Drupal\restful\Plugin\resource\Decorators

Code

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