UpdateManagerInstall::$moduleHandler

The module handler. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/update/src/Form/UpdateManagerInstall.php, line 23 Class UpdateManagerInstall Configure update settings for this site. Namespace Drupal\update\Form Code protected $moduleHandler;

UpdateManagerInstall::$root

The root location under which installed projects will be saved. Type: string File core/modules/update/src/Form/UpdateManagerInstall.php, line 30 Class UpdateManagerInstall Configure update settings for this site. Namespace Drupal\update\Form Code protected $root;

UpdateManagerInstall::$sitePath

The site path. Type: string File core/modules/update/src/Form/UpdateManagerInstall.php, line 37 Class UpdateManagerInstall Configure update settings for this site. Namespace Drupal\update\Form Code protected $sitePath;

UpdateManagerInstall::buildForm

public UpdateManagerInstall::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/update/src/Form/UpdateManagerInstall.php, line 76 Class UpdateManagerInstall Configure update settings for this site. Namespace Dru

UpdateManagerInstall::create

public static UpdateManagerInstall::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 ser

UpdateManagerInstall::getFormId

public UpdateManagerInstall::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/Form/UpdateManagerInstall.php, line 58 Class UpdateManagerInstall Configure update settings for this site. Namespace Drupal\update\Form Code public function getFormId() { return 'update_manager_install_form'; }

UpdateManagerInstall::submitForm

public UpdateManagerInstall::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 FormInterface::submitForm File core/modules/update/src/Form/UpdateManagerInstall.php, line 134 Class UpdateManagerInstall Configure update settings for this site. Namespace Drupal\update\Form Code pub

UpdateManagerInstall::validateForm

public UpdateManagerInstall::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/update/src/Form/UpdateManagerInstall.php, line 124 Class UpdateManagerInstall Configure update settings for this site. Namespace Drupal\update\Form Code publ

UpdateManagerInstall::__construct

public UpdateManagerInstall::__construct($root, ModuleHandlerInterface $module_handler, $site_path) Constructs a new UpdateManagerInstall. Parameters string $root: The root location under which installed projects will be saved. \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler. string $site_path: The site path. File core/modules/update/src/Form/UpdateManagerInstall.php, line 49 Class UpdateManagerInstall Configure update settings for this site. Namespace

UpdateManagerInterface

Manages project update information. Hierarchy interface \Drupal\update\UpdateManagerInterface File core/modules/update/src/UpdateManagerInterface.php, line 8 Namespace Drupal\update Members Name Modifiers Type Description UpdateManagerInterface::fetchDataBatch public function Processes a step in batch for fetching available update data. UpdateManagerInterface::getProjects public function Fetches an array of installed and enabled projects. UpdateManagerInterface