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::getAnonymousUser

public static User::getAnonymousUser() Returns an anonymous user entity. Return value \Drupal\user\UserInterface An anonymous user entity. File core/modules/user/src/Entity/User.php, line 407 Class User Defines the user entity class. Namespace Drupal\user\Entity Code public static function getAnonymousUser() { if (!isset(static::$anonymousUser)) { // @todo Use the entity factory once available, see // https://www.drupal.org/node/1867228. $entity_manager = \Drupal::ent

ConfigHandler::buildForm

public ConfigHandler::buildForm(array $form, FormStateInterface $form_state, Request $request = NULL) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/views_ui/src/Form/Ajax/ConfigHandler.php, line 50 Class ConfigHandler Provides a form for configuring an item in the

View::$label

The label of the view. File core/modules/views/src/Entity/View.php, line 60 Class View Defines a View configuration entity class. Namespace Drupal\views\Entity Code protected $label;

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