ThirdPartySettingsInterface::unsetThirdPartySetting

public ThirdPartySettingsInterface::unsetThirdPartySetting($module, $key) Unsets a third-party setting. Parameters string $module: The module providing the third-party setting. string $key: The setting name. Return value mixed The value. File core/lib/Drupal/Core/Config/Entity/ThirdPartySettingsInterface.php, line 67 Class ThirdPartySettingsInterface Interface for configuration entities to store third party information. Namespace Drupal\Core\Config\Entity Code public function unsetTh

ThirdPartySettingsInterface::setThirdPartySetting

public ThirdPartySettingsInterface::setThirdPartySetting($module, $key, $value) Sets the value of a third-party setting. Parameters string $module: The module providing the third-party setting. string $key: The setting name. mixed $value: The setting value. Return value $this File core/lib/Drupal/Core/Config/Entity/ThirdPartySettingsInterface.php, line 27 Class ThirdPartySettingsInterface Interface for configuration entities to store third party information. Namespace Drupal\Core\Conf

ThirdPartySettingsInterface::getThirdPartySettings

public ThirdPartySettingsInterface::getThirdPartySettings($module) Gets all third-party settings of a given module. Parameters string $module: The module providing the third-party settings. Return value array An array of key-value pairs. File core/lib/Drupal/Core/Config/Entity/ThirdPartySettingsInterface.php, line 54 Class ThirdPartySettingsInterface Interface for configuration entities to store third party information. Namespace Drupal\Core\Config\Entity Code public function getThir

ThirdPartySettingsInterface::getThirdPartySetting

public ThirdPartySettingsInterface::getThirdPartySetting($module, $key, $default = NULL) Gets the value of a third-party setting. Parameters string $module: The module providing the third-party setting. string $key: The setting name. mixed $default: The default value Return value mixed The value. File core/lib/Drupal/Core/Config/Entity/ThirdPartySettingsInterface.php, line 42 Class ThirdPartySettingsInterface Interface for configuration entities to store third party information. Namesp

ThirdPartySettingsInterface::getThirdPartyProviders

public ThirdPartySettingsInterface::getThirdPartyProviders() Gets the list of third parties that store information. Return value array The list of third parties. File core/lib/Drupal/Core/Config/Entity/ThirdPartySettingsInterface.php, line 75 Class ThirdPartySettingsInterface Interface for configuration entities to store third party information. Namespace Drupal\Core\Config\Entity Code public function getThirdPartyProviders();

ThirdPartySettingsInterface

Interface for configuration entities to store third party information. A third party is a module that needs to store tightly coupled information to the configuration entity. For example, a module alters the node type form can use this to store its configuration so that it will be deployed with the node type. Hierarchy interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterface File core/lib/Drupal/Core/Config/Entity/ThirdPartySettingsInterface.php, line 13 Namespace Drupal\Core\Conf

theme_settings_convert_to_config

theme_settings_convert_to_config(array $theme_settings, Config $config) Converts theme settings to configuration. Parameters array $theme_settings: An array of theme settings from system setting form or a Drupal 7 variable. Config $config: The configuration object to update. Return value The Config object with updated data. See also system_theme_settings_submit() File core/includes/theme.inc, line 471 The theme system, which controls the output of Drupal. Code function theme_settings_conve

theme_render_and_autoescape

theme_render_and_autoescape($arg) Escapes and renders variables for theme functions. This method is used in theme functions to ensure that the result is safe for output inside HTML fragments. This mimics the behavior of the auto-escape functionality in Twig. Note: This function should be kept in sync with \Drupal\Core\Template\TwigExtension::escapeFilter(). @todo Discuss deprecating this in https://www.drupal.org/node/2575081. @todo Refactor this to keep it in sync with Twig filtering in https:

theme_get_suggestions

theme_get_suggestions($args, $base, $delimiter = '__') Generate an array of suggestions from path arguments. This is typically called for adding to the suggestions in hook_theme_suggestions_HOOK_alter() or adding to 'attributes' class key variables from within preprocess functions, when wanting to base the additional suggestions or classes on the path of the current page. Parameters $args: An array of path arguments. $base: A string identifying the base 'thing' from which more specific suggest

theme_get_setting

theme_get_setting($setting_name, $theme = NULL) Retrieves a setting for the current theme or for a given theme. The final setting is obtained from the last value found in the following sources: the saved values from the global theme settings form the saved values from the theme's settings form To only retrieve the default global theme setting, an empty string should be given for $theme. Parameters $setting_name: The name of the setting to be retrieved. $theme: The name of a given theme; defa