public function Resource::getId in RESTful 7.2
File
- src/
Annotation/ Resource.php, line 147 - Contains \Drupal\restful\Annotation\Resource.
Class
- Resource
- Defines a Resource annotation object.
Namespace
Drupal\restful\AnnotationCode
public function getId() {
// The ID of the resource plugin is its name.
return $this->definition['name'];
}