UserPermissionsForm::buildForm

public UserPermissionsForm::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 FormInterface::buildForm File core/modules/user/src/Form/UserPermissionsForm.php, line 85 Class UserPermissionsForm Provides the user permissions administration form. Namespace

CronController::runManually

public CronController::runManually() Run cron manually. Return value \Symfony\Component\HttpFoundation\RedirectResponse A Symfony direct response object. File core/modules/system/src/CronController.php, line 59 Class CronController Controller for Cron handling. Namespace Drupal\system Code public function runManually() { if ($this->cron->run()) { drupal_set_message($this->t('Cron ran successfully.')); } else { drupal_set_message($this->t('Cron run failed.'),

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

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