You are here

public function CacheDecoratedResource::getResourceMachineName in RESTful 7.2

Gets the resource machine name.

Return value

string The machine name.

Overrides ResourceDecoratorBase::getResourceMachineName

File

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

Class

CacheDecoratedResource

Namespace

Drupal\restful\Plugin\resource\Decorators

Code

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