function ConfigDependencies::create
Same name in other branches
- 9 core/modules/rest/src/Entity/ConfigDependencies.php \Drupal\rest\Entity\ConfigDependencies::create()
- 8.9.x core/modules/rest/src/Entity/ConfigDependencies.php \Drupal\rest\Entity\ConfigDependencies::create()
- 11.x core/modules/rest/src/Entity/ConfigDependencies.php \Drupal\rest\Entity\ConfigDependencies::create()
Overrides ContainerInjectionInterface::create
File
-
core/
modules/ rest/ src/ Entity/ ConfigDependencies.php, line 46
Class
- ConfigDependencies
- Calculates rest resource config dependencies.
Namespace
Drupal\rest\EntityCode
public static function create(ContainerInterface $container) {
return new static($container->getParameter('serializer.format_providers'), $container->getParameter('authentication_providers'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.