ConfigCollectionInfo::addCollection

public ConfigCollectionInfo::addCollection($collection, ConfigFactoryOverrideInterface $override_service = NULL) Adds a collection to the list of possible collections. Parameters string $collection: Collection name to add. \Drupal\Core\Config\ConfigFactoryOverrideInterface $override_service: (optional) The configuration factory override service responsible for the collection. Throws \InvalidArgumentException Exception thrown if $collection is equal to \Drupal\Core\Config\StorageInterface::DEF

ConfigCollectionInfo::$collections

Configuration collection information keyed by collection name. The value is either the configuration factory override that is responsible for the collection or null if there is not one. Type: array File core/lib/Drupal/Core/Config/ConfigCollectionInfo.php, line 20 Class ConfigCollectionInfo Gets information on all the possible configuration collections. Namespace Drupal\Core\Config Code protected $collections = array();

ConfigCollectionInfo

Gets information on all the possible configuration collections. Hierarchy class \Symfony\Component\EventDispatcher\Eventclass \Drupal\Core\Config\ConfigCollectionInfo File core/lib/Drupal/Core/Config/ConfigCollectionInfo.php, line 10 Namespace Drupal\Core\Config Members Name Modifiers Type Description ConfigCollectionInfo::$collections protected property Configuration collection information keyed by collection name. ConfigCollectionInfo::addCollection public funct

ConfigCacheTag::__construct

public ConfigCacheTag::__construct(ThemeHandlerInterface $theme_handler, CacheTagsInvalidatorInterface $cache_tags_invalidator) Constructs a ConfigCacheTag object. Parameters \Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler. \Drupal\Core\Cache\CacheTagsInvalidatorInterface $cache_tags_invalidator: The cache tags invalidator. File core/modules/system/src/EventSubscriber/ConfigCacheTag.php, line 38 Class ConfigCacheTag A subscriber invalidating cache tags when

ConfigCacheTag::onSave

public ConfigCacheTag::onSave(ConfigCrudEvent $event) Invalidate cache tags when particular system config objects are saved. Parameters \Drupal\Core\Config\ConfigCrudEvent $event: The Event to process. File core/modules/system/src/EventSubscriber/ConfigCacheTag.php, line 49 Class ConfigCacheTag A subscriber invalidating cache tags when system config objects are saved. Namespace Drupal\system\EventSubscriber Code public function onSave(ConfigCrudEvent $event) { // Changing the site s

ConfigCacheTag::getSubscribedEvents

public static ConfigCacheTag::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) array

ConfigCacheTag::$themeHandler

The theme handler. Type: \Drupal\Core\Extension\ThemeHandlerInterface File core/modules/system/src/EventSubscriber/ConfigCacheTag.php, line 21 Class ConfigCacheTag A subscriber invalidating cache tags when system config objects are saved. Namespace Drupal\system\EventSubscriber Code protected $themeHandler;

ConfigCacheTag::$cacheTagsInvalidator

The cache tags invalidator. Type: \Drupal\Core\Cache\CacheTagsInvalidatorInterface File core/modules/system/src/EventSubscriber/ConfigCacheTag.php, line 28 Class ConfigCacheTag A subscriber invalidating cache tags when system config objects are saved. Namespace Drupal\system\EventSubscriber Code protected $cacheTagsInvalidator;

ConfigCacheTag

A subscriber invalidating cache tags when system config objects are saved. Hierarchy class \Drupal\system\EventSubscriber\ConfigCacheTag implements EventSubscriberInterface File core/modules/system/src/EventSubscriber/ConfigCacheTag.php, line 14 Namespace Drupal\system\EventSubscriber Members Name Modifiers Type Description ConfigCacheTag::$cacheTagsInvalidator protected property The cache tags invalidator. ConfigCacheTag::$themeHandler protected property The the

ConfigBase::validateName

public static ConfigBase::validateName($name) Validates the configuration object name. Parameters string $name: The name of the configuration object. Throws \Drupal\Core\Config\ConfigNameException See also Config::MAX_NAME_LENGTH File core/lib/Drupal/Core/Config/ConfigBase.php, line 94 Class ConfigBase Provides a base class for configuration objects with get/set support. Namespace Drupal\Core\Config Code public static function validateName($name) { // The name must be namespaced b