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

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

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

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'); }

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;

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

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

update_requirements

update_requirements($phase) Implements hook_requirements(). Return value An array describing the status of the site regarding available updates. If there is no update data, only one record will be returned, indicating that the status of core can't be determined. If data is available, there will be two records: one for core, and another for all of contrib (assuming there are any contributed modules or themes enabled on the site). In addition to the fields expected by hook_requirements ('value',

SystemController::$queryFactory

The entity query factory object. Type: \Drupal\Core\Entity\Query\QueryFactory File core/modules/system/src/Controller/SystemController.php, line 27 Class SystemController Returns responses for System routes. Namespace Drupal\system\Controller Code protected $queryFactory;

ConfigException

A base exception thrown in any configuration system operations. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeException File core/lib/Drupal/Core/Config/ConfigException.php, line 8 Namespace Drupal\Core\Config Members