DatabaseBackend::__construct

public DatabaseBackend::__construct(Connection $connection, RequestStack $request_stack) Construct the DatabaseBackend. Parameters \Drupal\Core\Database\Connection $connection: The database connection which will be used to store the flood event information. \Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack used to retrieve the current request. File core/lib/Drupal/Core/Flood/DatabaseBackend.php, line 42 Class DatabaseBackend Defines the database flood backen

LanguagesCacheContext::$languageManager

The language manager. File core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php, line 18 Class LanguagesCacheContext Defines the LanguagesCacheContext service, for "per language" caching. Namespace Drupal\Core\Cache\Context Code protected $languageManager;

block--system-menu-block.html.twig

Default theme implementation for a menu block. Available variables: plugin_id: The ID of the block implementation. label: The configured label of the block if visible. configuration: A list of the block's configuration values. label: The configured label for the block. label_display: The display settings for the label. provider: The module or other provider that provided this block plugin. Block plugin specific settings will also be stored here. content: The content of this block. attr

Merge::$insertValues

An array of values to be inserted. Type: string File core/lib/Drupal/Core/Database/Query/Merge.php, line 93 Class Merge General class for an abstracted MERGE query operation. Namespace Drupal\Core\Database\Query Code protected $insertValues = array();

CONFIG_SYNC_DIRECTORY

$config_directories key for sync directory. See also config_get_config_directory() File core/includes/bootstrap.inc, line 112 Functions that need to be loaded on every Drupal request. Code const CONFIG_SYNC_DIRECTORY = 'sync';

LanguageManager::reset

public LanguageManager::reset($type = NULL) Resets the given language type or all types if none specified. Parameters string|null $type: (optional) The language type to reset as a string, e.g., LanguageInterface::TYPE_INTERFACE, or NULL to reset all language types. Defaults to NULL. Return value \Drupal\Core\Language\LanguageManagerInterface The language manager that has been reset. Overrides LanguageManagerInterface::reset File core/lib/Drupal/Core/Language/LanguageManager.php, line 109 C

system_admin_compact_mode

system_admin_compact_mode() Determines whether the current user is in compact mode. Compact mode shows certain administration pages with less description text, such as the configuration page and the permissions page. Whether the user is in compact mode is determined by a cookie, which is set for the user by \Drupal\system\Controller\SystemController::compactPage(). If the user does not have the cookie, the default value is given by the configuration variable 'system.site.admin_compact_mode', wh

template_preprocess_responsive_image_formatter

template_preprocess_responsive_image_formatter(&$variables) Prepares variables for responsive image formatter templates. Default template: responsive-image-formatter.html.twig. Parameters array $variables: An associative array containing: item: An ImageItem object. item_attributes: An optional associative array of HTML attributes to be placed in the img tag. responsive_image_style_id: A responsive image style. url: An optional \Drupal\Core\Url object. File core/modules/responsive_ima

MenuLinkContentForm::form

public MenuLinkContentForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides ContentEntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/menu_link_content/src/Form/MenuLinkContentForm.php, line 72 Class MenuLinkContentForm Provides a form to add/update content menu links. Namespace Drupal\menu_link_content\Form Code public function form(array $form, Form

StorageInterface::encode

public StorageInterface::encode($data) Encodes configuration data into the storage-specific format. This is a publicly accessible static method to allow for alternative usages in data conversion scripts and also tests. Parameters array $data: The configuration data to encode. Return value string The encoded configuration data. File core/lib/Drupal/Core/Config/StorageInterface.php, line 105 Class StorageInterface Defines an interface for configuration storage. Namespace Drupal\Core\Con