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

Breadcrumb

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

function ConfigCollectionInfo::getOverrideService

Gets the config factory override service responsible for the collection.

Parameters

string $collection: The configuration collection.

Return value

\Drupal\Core\Config\ConfigFactoryOverrideInterface|null The override service responsible for the collection if one exists. NULL if not.

File

core/lib/Drupal/Core/Config/ConfigCollectionInfo.php, line 70

Class

ConfigCollectionInfo
Gets information on all the possible configuration collections.

Namespace

Drupal\Core\Config

Code

public function getOverrideService($collection) {
    return $this->collections[$collection] ?? NULL;
}

API Navigation

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