ConfigDependencies::__construct

public ConfigDependencies::__construct(array $format_providers, array $auth_providers)

Creates a new ConfigDependencies instance.

Parameters

string[] $format_providers: The serialization format providers, keyed by format.

string[] $auth_providers: The authentication providers, keyed by ID.

File

core/modules/rest/src/Entity/ConfigDependencies.php, line 38

Class

ConfigDependencies
Calculates rest resource config dependencies.

Namespace

Drupal\rest\Entity

Code

1
2
3
4
public function __construct(array $format_providers, array $auth_providers) {
  $this->formatProviders = $format_providers;
  $this->authProviders = $auth_providers;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.