Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConfigDependencies.php

function ConfigDependencies::__construct

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

public function __construct(array $format_providers, array $auth_providers) {
    $this->formatProviders = $format_providers;
    $this->authProviders = $auth_providers;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal