UpdateSettingsForm::submitForm

public UpdateSettingsForm::submitForm(array &$form, FormStateInterface $form_state) Form submission 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 ConfigFormBase::submitForm File core/modules/update/src/UpdateSettingsForm.php, line 138 Class UpdateSettingsForm Configure update settings for this site. Namespace Drupal\update Code public function su

UpdateSettingsForm::__construct

public UpdateSettingsForm::__construct(EmailValidator $email_validator) Constructs a new UpdateSettingsForm. Parameters \Egulias\EmailValidator\EmailValidator $email_validator: The email validator. Overrides ConfigFormBase::__construct File core/modules/update/src/UpdateSettingsForm.php, line 29 Class UpdateSettingsForm Configure update settings for this site. Namespace Drupal\update Code public function __construct(EmailValidator $email_validator) { $this->emailValidator = $emai

UpdateSettingsForm::buildForm

public UpdateSettingsForm::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/update/src/UpdateSettingsForm.php, line 59 Class UpdateSettingsForm Configure update settings for this site. Namespace Drupal\update

UpdateSettingsForm::getEditableConfigNames

protected UpdateSettingsForm::getEditableConfigNames() Gets the configuration names that will be editable. Return value array An array of configuration object names that are editable if called in conjunction with the trait's config() method. Overrides ConfigFormBaseTrait::getEditableConfigNames File core/modules/update/src/UpdateSettingsForm.php, line 52 Class UpdateSettingsForm Configure update settings for this site. Namespace Drupal\update Code protected function getEditableConfigN

UpdateSettingsForm::getFormId

public UpdateSettingsForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/update/src/UpdateSettingsForm.php, line 45 Class UpdateSettingsForm Configure update settings for this site. Namespace Drupal\update Code public function getFormId() { return 'update_settings'; }

UpdateSettingsForm::create

public static UpdateSettingsForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The servi

UpdateSettingsForm::$emailValidator

The email validator. Type: \Egulias\EmailValidator\EmailValidator File core/modules/update/src/UpdateSettingsForm.php, line 21 Class UpdateSettingsForm Configure update settings for this site. Namespace Drupal\update Code protected $emailValidator;

UpdateSettingsForm

Configure update settings for this site. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfigFormBase uses ConfigFormBaseTraitclass \Drupal\update\UpdateSettingsForm implements ContainerInjectionInterface File core/modules/update/src/UpdateSettingsForm.php, line 14 Namespac

UpdaterInterface::isInstalled

public UpdaterInterface::isInstalled() Checks if the project is installed. Return value bool File core/lib/Drupal/Core/Updater/UpdaterInterface.php, line 22 Class UpdaterInterface Defines an interface for a class which can update a Drupal project. Namespace Drupal\Core\Updater Code public function isInstalled();

UpdaterInterface::postUpdate

public UpdaterInterface::postUpdate() Actions to run after an update has occurred. File core/lib/Drupal/Core/Updater/UpdaterInterface.php, line 66 Class UpdaterInterface Defines an interface for a class which can update a Drupal project. Namespace Drupal\Core\Updater Code public function postUpdate();