You are here

public function RestfulBase::getResourceName in RESTful 7

Return the resource name.

Return value

string Gets the name of the resource.

3 calls to RestfulBase::getResourceName()
RestfulBase::clearResourceRenderedCache in plugins/restful/RestfulBase.php
Clear all caches corresponding to the current resource.
RestfulBase::generateCacheId in plugins/restful/RestfulBase.php
Generate a cache identifier for the request and the current context.
RestfulEntityBase::clearResourceRenderedCacheEntity in plugins/restful/RestfulEntityBase.php
Clear all caches corresponding to the current resource for a given entity.

File

plugins/restful/RestfulBase.php, line 597
Contains RestfulBase.

Class

RestfulBase
Class \RestfulBase

Code

public function getResourceName() {
  return $this
    ->getPluginKey('resource');
}