LocaleTranslationCacheTag

A subscriber invalidating cache tags when translating a string. Hierarchy class \Drupal\locale\EventSubscriber\LocaleTranslationCacheTag implements EventSubscriberInterface File core/modules/locale/src/EventSubscriber/LocaleTranslationCacheTag.php, line 12 Namespace Drupal\locale\EventSubscriber Members Name Modifiers Type Description LocaleTranslationCacheTag::$cacheTagsInvalidator protected property The cache tags invalidator. LocaleTranslationCacheTag::getSubscribed

VocabularyInterface::getDescription

public VocabularyInterface::getDescription() Returns the vocabulary description. Return value string The vocabulary description. File core/modules/taxonomy/src/VocabularyInterface.php, line 55 Class VocabularyInterface Provides an interface defining a taxonomy vocabulary entity. Namespace Drupal\taxonomy Code public function getDescription();

ConfigSingleImportForm::getQuestion

public ConfigSingleImportForm::getQuestion() Returns the question to ask the user. Return value string The form question. The page title will be set to this value. Overrides ConfirmFormInterface::getQuestion File core/modules/config/src/Form/ConfigSingleImportForm.php, line 189 Class ConfigSingleImportForm Provides a form for importing a single configuration file. Namespace Drupal\config\Form Code public function getQuestion() { if ($this->data['config_type'] === 'system.simple')

user_user_login

user_user_login($account) Implements hook_user_login(). File core/modules/user/user.module, line 552 Enables the user registration and login system. Code function user_user_login($account) { // Reset static cache of default variables in template_preprocess() to reflect // the new user. drupal_static_reset('template_preprocess'); }

link_help

link_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/link/link.module, line 13 Defines simple link field types. Code function link_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.link': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Link module allows you to create fields that contain internal or external URLs and optional link

LocaleSettingsForm::validateForm

public LocaleSettingsForm::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/locale/src/Form/LocaleSettingsForm.php, line 90 Class LocaleSettingsForm Configure locale settings for this site. Namespace Drupal\locale\Form Code public func

FieldStorageDefinitionEvents::CREATE

Name of the event triggered for field storage definition creation. This event allows you to respond to the creation of a new field storage definition. The event listener method receives a \Drupal\Core\Field\FieldStorageDefinitionEvent instance. See also \Drupal\Core\Field\FieldStorageDefinitionEvent \Drupal\Core\Entity\EntityManager::onFieldStorageDefinitionCreate() \Drupal\Core\Field\FieldStorageDefinitionEventSubscriberTrait Related topics Events Overview of event dispatch and subscribing

template_preprocess_update_project_status

template_preprocess_update_project_status(&$variables) Prepares variables for update project status templates. Default template: update-project-status.html.twig. Parameters array $variables: An associative array containing: project: An array of information about the project. File core/modules/update/update.report.inc, line 112 Code required only when rendering the available updates report. Code function template_preprocess_update_project_status(&$variables) { // Storing by refer

AccountForm::buildEntity

public AccountForm::buildEntity(array $form, FormStateInterface $form_state) Builds an updated entity object based upon the submitted form values. For building the updated entity object the form's entity is cloned and the submitted form values are copied to entity properties. The form's entity remains unchanged. Parameters array $form: A nested array form elements comprising the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value \Drupal\Core\En

DateTimePlus::$errors

An array of errors encountered when creating this date. File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 91 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime Code protected $errors = array();