UserMultipleCancelConfirm::buildForm

public UserMultipleCancelConfirm::buildForm(array $form, FormStateInterface $form_state) 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 ConfirmFormBase::buildForm File core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 97 Class UserMultipleCancelConfirm Provides a confirmation form for cancellin

LinkItemInterface::isExternal

public LinkItemInterface::isExternal() Determines if a link is external. Return value bool TRUE if the link is external, FALSE otherwise. File core/modules/link/src/LinkItemInterface.php, line 33 Class LinkItemInterface Defines an interface for the link field item. Namespace Drupal\link Code public function isExternal();

install_write_profile

install_write_profile($install_state) Installation task; ensures install profile is written to settings.php. Parameters array $install_state: An array of information about the current installation state. File core/includes/install.core.inc, line 2180 API functions for installing Drupal. Code function install_write_profile($install_state) { if (Settings::get('install_profile') !== $install_state['parameters']['profile']) { // Remember the profile which was used. $settings['settings'

ViewUIConverter::applies

public ViewUIConverter::applies($definition, $name, Route $route) Determines if the converter applies to a specific route and variable. Parameters mixed $definition: The parameter definition provided in the route options. string $name: The name of the parameter. \Symfony\Component\Routing\Route $route: The route to consider attaching to. Return value bool TRUE if the converter applies to the passed route and parameter, FALSE otherwise. Overrides AdminPathConfigEntityConverter::applies File co

Term::setWeight

public Term::setWeight($weight) Gets the weight of this term. Parameters int $weight: The term's weight. Return value $this Overrides TermInterface::setWeight File core/modules/taxonomy/src/Entity/Term.php, line 225 Class Term Defines the taxonomy term entity. Namespace Drupal\taxonomy\Entity Code public function setWeight($weight) { $this->set('weight', $weight); return $this; }

UserPasswordForm::getFormId

public UserPasswordForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/user/src/Form/UserPasswordForm.php, line 57 Class UserPasswordForm Provides a user password reset form. Namespace Drupal\user\Form Code public function getFormId() { return 'user_pass'; }

TranslatableMarkup

Provides translatable markup class. This object, when cast to a string, will return the formatted, translated string. Avoid casting it to a string yourself, because it is preferable to let the rendering system do the cast as late as possible in the rendering process, so that this object itself can be put, untranslated, into render caches and thus the cache can be shared between different language contexts. Hierarchy class \Drupal\Component\Render\FormattableMarkup implements \Countable, MarkupI

AdvancedSettingsForm::buildForm

public AdvancedSettingsForm::buildForm(array $form, FormStateInterface $form_state) 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 ConfigFormBase::buildForm File core/modules/views_ui/src/Form/AdvancedSettingsForm.php, line 31 Class AdvancedSettingsForm Form builder for the advanced admin settings page. N

SessionCacheContext

Defines the SessionCacheContext service, for "per session" caching. Cache context ID: 'session'. Hierarchy class \Drupal\Core\Cache\Context\RequestStackCacheContextBaseclass \Drupal\Core\Cache\Context\SessionCacheContext File core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php, line 12 Namespace Drupal\Core\Cache\Context Members Name Modifiers Type Description RequestStackCacheContextBase::$requestStack protected property The request stack. RequestStackCacheCon

DRUPAL_EXTENSION_NAME_MAX_LENGTH

The maximum number of characters in a module or theme name. File core/includes/bootstrap.inc, line 76 Functions that need to be loaded on every Drupal request. Code const DRUPAL_EXTENSION_NAME_MAX_LENGTH = 50;