public function Resource::getResourceMachineName in RESTful 7.2
Gets the resource machine name.
Return value
string The machine name.
Overrides ResourceInterface::getResourceMachineName
2 calls to Resource::getResourceMachineName()
- Resource::dataProviderFactory in src/
Plugin/ resource/ Resource.php - Data provider factory.
- ResourceEntity::dataProviderFactory in src/
Plugin/ resource/ ResourceEntity.php - Data provider factory.
File
- src/
Plugin/ resource/ Resource.php, line 224 - Contains \Drupal\restful\Plugin\resource\Resource.
Class
Namespace
Drupal\restful\Plugin\resourceCode
public function getResourceMachineName() {
$definition = $this
->getPluginDefinition();
return $definition['resource'];
}