public function Resource::getResourceName in RESTful 7.2
Gets the resource name.
@returns string The name of the current resource.
Overrides ResourceInterface::getResourceName
File
- src/
Plugin/ resource/ Resource.php, line 216 - Contains \Drupal\restful\Plugin\resource\Resource.
Class
Namespace
Drupal\restful\Plugin\resourceCode
public function getResourceName() {
$definition = $this
->getPluginDefinition();
return $definition['name'];
}