function ConfigDependencies::__construct
Same name and namespace in other branches
- 11.x core/modules/rest/src/Entity/ConfigDependencies.php \Drupal\rest\Entity\ConfigDependencies::__construct()
- 10 core/modules/rest/src/Entity/ConfigDependencies.php \Drupal\rest\Entity\ConfigDependencies::__construct()
- 9 core/modules/rest/src/Entity/ConfigDependencies.php \Drupal\rest\Entity\ConfigDependencies::__construct()
- 8.9.x core/modules/rest/src/Entity/ConfigDependencies.php \Drupal\rest\Entity\ConfigDependencies::__construct()
Creates a new ConfigDependencies instance.
Parameters
string[] $formatProviders: The serialization format providers, keyed by format.
string[] $authProviders: The authentication providers, keyed by ID.
File
-
core/
modules/ rest/ src/ Entity/ ConfigDependencies.php, line 24
Class
- ConfigDependencies
- Calculates rest resource config dependencies.
Namespace
Drupal\rest\EntityCode
public function __construct(protected array $formatProviders, protected array $authProviders) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.