You are here

public function Resource::isEnabled in RESTful 7.2

Checks if the resource is enabled.

Return value

bool TRUE if the resource plugin is enabled.

Overrides ResourceInterface::isEnabled

File

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

Class

Resource

Namespace

Drupal\restful\Plugin\resource

Code

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