config_file_download

config_file_download($uri) Implements hook_file_download(). File core/modules/config/config.module, line 64 Allows site administrators to modify configuration. Code function config_file_download($uri) { $scheme = file_uri_scheme($uri); $target = file_uri_target($uri); if ($scheme == 'temporary' && $target == 'config.tar.gz') { if (\Drupal::currentUser()->hasPermission('export configuration')) { $request = \Drupal::request(); $date = DateTime::createFromFormat(

CONFIG_ACTIVE_DIRECTORY

$config_directories key for active directory. Deprecated in Drupal 8.0.x and will be removed before 9.0.0. Drupal core no longer creates an active directory. See also config_get_config_directory() File core/includes/bootstrap.inc, line 105 Functions that need to be loaded on every Drupal request. Code const CONFIG_ACTIVE_DIRECTORY = 'active';

ConfigValueException

Exception thrown when config object values are invalid. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeExceptionclass \Drupal\Core\Config\ConfigValueException File core/lib/Drupal/Core/Config/ConfigValueException.php, line 8 Namespace Drupal\Core\Config Members

Configuration API

Information about the Configuration API. The Configuration API is one of several methods in Drupal for storing information. See the Information types topic for an overview of the different types of information. The sections below have more information about the configuration API; see https://www.drupal.org/developing/api/8/configuration for more details. Configuration storage In Drupal, there is a concept of the "active" configuration, which is the configuration that is currently in use for a s

ConfigurableLinkManagerInterface::setLinkDomain

public ConfigurableLinkManagerInterface::setLinkDomain($domain) Sets the link domain used in constructing link URIs. Parameters string $domain: The link domain to use for constructing link URIs. Return value $this File core/modules/rest/src/LinkManager/ConfigurableLinkManagerInterface.php, line 18 Class ConfigurableLinkManagerInterface Defines an interface for a link manager with a configurable domain. Namespace Drupal\rest\LinkManager Code public function setLinkDomain($domain);

ConfigurableLinkManagerInterface

Defines an interface for a link manager with a configurable domain. Hierarchy interface \Drupal\rest\LinkManager\ConfigurableLinkManagerInterface File core/modules/rest/src/LinkManager/ConfigurableLinkManagerInterface.php, line 8 Namespace Drupal\rest\LinkManager Members Name Modifiers Type Description ConfigurableLinkManagerInterface::setLinkDomain public function Sets the link domain used in constructing link URIs.

ConfigurableLanguageManagerInterface::updateLockedLanguageWeights

public ConfigurableLanguageManagerInterface::updateLockedLanguageWeights() Updates locked system language weights. File core/modules/language/src/ConfigurableLanguageManagerInterface.php, line 59 Class ConfigurableLanguageManagerInterface Common interface for language negotiation services. Namespace Drupal\language Code public function updateLockedLanguageWeights();

ConfigurableLanguageManagerInterface::setNegotiator

public ConfigurableLanguageManagerInterface::setNegotiator(LanguageNegotiatorInterface $negotiator) Injects the language negotiator. Parameters \Drupal\language\LanguageNegotiatorInterface $negotiator: The language negotiator. File core/modules/language/src/ConfigurableLanguageManagerInterface.php, line 32 Class ConfigurableLanguageManagerInterface Common interface for language negotiation services. Namespace Drupal\language Code public function setNegotiator(LanguageNegotiatorInterfa

ConfigurableLanguageManagerInterface::saveLanguageTypesConfiguration

public ConfigurableLanguageManagerInterface::saveLanguageTypesConfiguration(array $config) Stores language types configuration. Parameters array $config: An indexed array with the following keys_ configurable: an array of configurable language type names. all: an array of all the defined language type names. File core/modules/language/src/ConfigurableLanguageManagerInterface.php, line 54 Class ConfigurableLanguageManagerInterface Common interface for language negotiation services. N

ConfigurableLanguageManagerInterface::rebuildServices

public static ConfigurableLanguageManagerInterface::rebuildServices() Rebuild the container to register services needed on multilingual sites. File core/modules/language/src/ConfigurableLanguageManagerInterface.php, line 16 Class ConfigurableLanguageManagerInterface Common interface for language negotiation services. Namespace Drupal\language Code public static function rebuildServices();