FormSubmitter

Provides submission processing for forms. Hierarchy class \Drupal\Core\Form\FormSubmitter implements FormSubmitterInterface File core/lib/Drupal/Core/Form/FormSubmitter.php, line 14 Namespace Drupal\Core\Form Members Name Modifiers Type Description FormSubmitter::$requestStack protected property The request stack. FormSubmitter::$urlGenerator protected property The URL generator. FormSubmitter::batchGet protected function Wraps batch_get(). FormSubmitte

ControllerBase::$configFactory

The configuration factory. Type: \Drupal\Core\Config\Config File core/lib/Drupal/Core/Controller/ControllerBase.php, line 75 Class ControllerBase Utility base class for thin controllers. Namespace Drupal\Core\Controller Code protected $configFactory;

ConfigNamesMapper::setLangcode

public ConfigNamesMapper::setLangcode($langcode) Sets the original language code. Parameters string $langcode: The langcode. Return value $this Overrides ConfigMapperInterface::setLangcode File core/modules/config_translation/src/ConfigNamesMapper.php, line 407 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function setLangcode($langcode) { $this->langcode = $langcode; return $this; }

EntityViewsData::$fieldStorageDefinitions

The field storage definitions for all base fields of the entity type. Type: \Drupal\Core\Field\FieldStorageDefinitionInterface[] File core/modules/views/src/EntityViewsData.php, line 58 Class EntityViewsData Provides generic views integration for entities. Namespace Drupal\views Code protected $fieldStorageDefinitions;

views-ui-display-tab-setting.html.twig

Default theme implementation for Views UI display tab settings. Template for each row inside the "boxes" on the display query edit screen. Available variables: attributes: HTML attributes such as class for the container. description: The description or label for this setting. settings_links: A list of links for this setting. defaulted: A boolean indicating the setting is in its default state. overridden: A boolean indicating the setting has been overridden from the default. See also tem

ContactFormEditForm::$emailValidator

The email validator. Type: \Egulias\EmailValidator\EmailValidator File core/modules/contact/src/ContactFormEditForm.php, line 27 Class ContactFormEditForm Base form for contact form edit forms. Namespace Drupal\contact Code protected $emailValidator;

template_preprocess_system_admin_index

template_preprocess_system_admin_index(&$variables) Prepares variables for admin index templates. Default template: system-admin-index.html.twig. Parameters $variables: An associative array containing: menu_items: An array of modules to be displayed. File core/modules/system/system.admin.inc, line 80 Admin page callbacks for the system module. Code function template_preprocess_system_admin_index(&$variables) { $variables['system_compact_link'] = array( '#type' => 'system_

language_get_browser_drupal_langcode_mappings

language_get_browser_drupal_langcode_mappings() Returns language mappings between browser and Drupal language codes. Return value array An array containing browser language codes as keys with corresponding Drupal language codes as values. File core/modules/language/language.module, line 393 Add language handling functionality to Drupal. Code function language_get_browser_drupal_langcode_mappings() { $config = \Drupal::config('language.mappings'); if ($config->isNew()) { return arr

NodeViewBuilder::getBuildDefaults

protected NodeViewBuilder::getBuildDefaults(EntityInterface $entity, $view_mode) Provides entity-specific defaults to the build process. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for which the defaults should be provided. string $view_mode: The view mode that should be used. Return value array Overrides EntityViewBuilder::getBuildDefaults File core/modules/node/src/NodeViewBuilder.php, line 57 Class NodeViewBuilder View builder handler for nodes. Namespace Dru

InstallStorage::__construct

public InstallStorage::__construct($directory = self::CONFIG_INSTALL_DIRECTORY, $collection = StorageInterface::DEFAULT_COLLECTION) Constructs an InstallStorage object. Parameters string $directory: The directory to scan in each extension to scan for files. Defaults to 'config/install'. string $collection: (optional) The collection to store configuration in. Defaults to the default collection. Overrides FileStorage::__construct File core/lib/Drupal/Core/Config/InstallStorage.php, line 60 Cl