protected function RestResourceConfig::getRestResourceDependencies in Drupal 10
Same name and namespace in other branches
- 8 core/modules/rest/src/Entity/RestResourceConfig.php \Drupal\rest\Entity\RestResourceConfig::getRestResourceDependencies()
- 9 core/modules/rest/src/Entity/RestResourceConfig.php \Drupal\rest\Entity\RestResourceConfig::getRestResourceDependencies()
Returns the REST resource dependencies.
Return value
\Drupal\rest\Entity\ConfigDependencies
2 calls to RestResourceConfig::getRestResourceDependencies()
- RestResourceConfig::calculateDependencies in core/
modules/ rest/ src/ Entity/ RestResourceConfig.php - Calculates dependencies and stores them in the dependency property.
- RestResourceConfig::onDependencyRemoval in core/
modules/ rest/ src/ Entity/ RestResourceConfig.php - Informs the entity that entities it depends on will be deleted.
File
- core/
modules/ rest/ src/ Entity/ RestResourceConfig.php, line 243
Class
- RestResourceConfig
- Defines a RestResourceConfig configuration entity class.
Namespace
Drupal\rest\EntityCode
protected function getRestResourceDependencies() {
return \Drupal::service('class_resolver')
->getInstanceFromDefinition(ConfigDependencies::class);
}