class FreeConfigContext

Defines the override-free configuration context object.

Hierarchy

Expanded class hierarchy of FreeConfigContext

1 file declares its use of FreeConfigContext
ConfigImporter.php in drupal/core/lib/Drupal/Core/Config/ConfigImporter.php
Contains \Drupal\Core\Config\ConfigImporter.
1 string reference to 'FreeConfigContext'
core.services.yml in drupal/core/core.services.yml
drupal/core/core.services.yml

File

drupal/core/lib/Drupal/Core/Config/Context/FreeConfigContext.php, line 13
Contains \Drupal\Core\Config\Context\FreeConfigContext.

Namespace

Drupal\Core\Config\Context
View source
class FreeConfigContext extends ConfigContext {

  /**
   * Implements \Drupal\Core\Config\Context\ContextInterface::getOverrides().
   */
  public function getOverrides($config_name) {

    // Do nothing as this is override free.
    return FALSE;
  }

  /**
   * Implements \Drupal\Core\Config\Context\ContextInterface::setOverride().
   */
  public function setOverrides($config_name, $data) {

    // Do nothing as this is override free.
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigContext::$data protected property The actual storage of key-value pairs.
ConfigContext::$eventDispatcher protected property An event dispatcher instance to use for configuration events.
ConfigContext::$overrides protected property Any config overrides of key-value pairs.
ConfigContext::$uuid protected property A unique identifier for the context.
ConfigContext::get public function Implements \Drupal\Core\Config\Context\ContextInterface::get(). Overrides ContextInterface::get
ConfigContext::getUuid public function Implements \Drupal\Core\Config\Context\ContextInterface::getUuid(). Overrides ContextInterface::getUuid
ConfigContext::init public function Implements \Drupal\Core\Config\Context\ContextInterface::init(). Overrides ContextInterface::init
ConfigContext::notify public function Implements \Drupal\Core\Config\Context\ContextInterface::notify(). Overrides ContextInterface::notify
ConfigContext::set public function Implements \Drupal\Core\Config\Context\ContextInterface::set(). Overrides ContextInterface::set
ConfigContext::setUuid public function Implements \Drupal\Core\Config\Context\ContextInterface::setUuid(). Overrides ContextInterface::setUuid
ConfigContext::__construct public function Constructs the configuration context.
FreeConfigContext::getOverrides public function Implements \Drupal\Core\Config\Context\ContextInterface::getOverrides(). Overrides ConfigContext::getOverrides
FreeConfigContext::setOverrides public function Implements \Drupal\Core\Config\Context\ContextInterface::setOverride(). Overrides ConfigContext::setOverrides