ModulesListConfirmForm::getCancelUrl

public ModulesListConfirmForm::getCancelUrl() Returns the route to go to if the user cancels the action. Return value \Drupal\Core\Url A URL object. Overrides ConfirmFormInterface::getCancelUrl File core/modules/system/src/Form/ModulesListConfirmForm.php, line 85 Class ModulesListConfirmForm Builds a confirmation form for enabling modules with dependencies. Namespace Drupal\system\Form Code public function getCancelUrl() { return new Url('system.modules_list'); }

ModulesListConfirmForm::create

public static ModulesListConfirmForm::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 s

ModulesListConfirmForm::buildMessageList

protected ModulesListConfirmForm::buildMessageList() Builds the message list for the confirmation form. Return value \Drupal\Component\Render\MarkupInterface[] Array of markup for the list of messages on the form. See also \Drupal\system\Form\ModulesListForm::buildModuleList() File core/modules/system/src/Form/ModulesListConfirmForm.php, line 139 Class ModulesListConfirmForm Builds a confirmation form for enabling modules with dependencies. Namespace Drupal\system\Form Code protected

ModulesListConfirmForm::buildForm

public ModulesListConfirmForm::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/system/src/Form/ModulesListConfirmForm.php, line 113 Class ModulesListConfirmForm Builds a confirmation form for enabling modules

ModulesListConfirmForm::$modules

An associative list of modules to enable or disable. Type: array File core/modules/system/src/Form/ModulesListConfirmForm.php, line 39 Class ModulesListConfirmForm Builds a confirmation form for enabling modules with dependencies. Namespace Drupal\system\Form Code protected $modules = array();

ModulesListConfirmForm::$moduleInstaller

The module installer. Type: \Drupal\Core\Extension\ModuleInstallerInterface File core/modules/system/src/Form/ModulesListConfirmForm.php, line 46 Class ModulesListConfirmForm Builds a confirmation form for enabling modules with dependencies. Namespace Drupal\system\Form Code protected $moduleInstaller;

ModulesListConfirmForm::$moduleHandler

The module handler service. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/system/src/Form/ModulesListConfirmForm.php, line 25 Class ModulesListConfirmForm Builds a confirmation form for enabling modules with dependencies. Namespace Drupal\system\Form Code protected $moduleHandler;

ModulesListConfirmForm::$keyValueExpirable

The expirable key value store. Type: \Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface File core/modules/system/src/Form/ModulesListConfirmForm.php, line 32 Class ModulesListConfirmForm Builds a confirmation form for enabling modules with dependencies. Namespace Drupal\system\Form Code protected $keyValueExpirable;

ModulesListConfirmForm

Builds a confirmation form for enabling modules with dependencies. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\system\Form\ModulesListConfirmForm File core/modules/system/src/Form/ModulesListConfirmForm.php, line 1

ModuleRouteSubscriber::__construct

public ModuleRouteSubscriber::__construct(ModuleHandlerInterface $module_handler) Constructs a ModuleRouteSubscriber object. Parameters \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler. File core/lib/Drupal/Core/EventSubscriber/ModuleRouteSubscriber.php, line 27 Class ModuleRouteSubscriber A route subscriber to remove routes that depend on modules being enabled. Namespace Drupal\Core\EventSubscriber Code public function __construct(ModuleHandlerInterfa