RestResourceConfig::getRestResourceDependencies

protected RestResourceConfig::getRestResourceDependencies()

Returns the REST resource dependencies.

Return value

\Drupal\rest\Entity\ConfigDependencies

File

core/modules/rest/src/Entity/RestResourceConfig.php, line 241

Class

RestResourceConfig
Defines a RestResourceConfig configuration entity class.

Namespace

Drupal\rest\Entity

Code

protected function getRestResourceDependencies() {
  return \Drupal::service('class_resolver')->getInstanceFromDefinition(ConfigDependencies::class);
}
doc_Drupal
2016-10-29 09:38:20
Comments
Leave a Comment

Please login to continue.