Timer::$timers

File core/lib/Drupal/Component/Utility/Timer.php, line 12 Class Timer Provides helpers to use timers throughout a request. Namespace Drupal\Component\Utility Code static protected $timers = array();

Timer::read

static public Timer::read($name) Reads the current timer value without stopping the timer. Parameters string $name: The name of the timer. Return value int The current timer value in ms. File core/lib/Drupal/Component/Utility/Timer.php, line 37 Class Timer Provides helpers to use timers throughout a request. Namespace Drupal\Component\Utility Code static public function read($name) { if (isset(static::$timers[$name]['start'])) { $stop = microtime(TRUE); $diff = round(($stop

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();

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:

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

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

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

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_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

ThemeSettingsForm::__construct

public ThemeSettingsForm::__construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, ThemeHandlerInterface $theme_handler, MimeTypeGuesserInterface $mime_type_guesser) Constructs a ThemeSettingsForm object. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects. \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler instance to use. \Drupal\Core\Extension\ThemeHandlerInterface $the