Drupal 8  8.0.2
UpdateReady Class Reference
Inheritance diagram for UpdateReady:

Public Member Functions

 __construct ($root, ModuleHandlerInterface $module_handler, StateInterface $state, $site_path)
 getFormId ()
 buildForm (array $form, FormStateInterface $form_state)
 submitForm (array &$form, FormStateInterface $form_state)

Static Public Member Functions

static create (ContainerInterface $container)

Protected Attributes


Detailed Description

Configure update settings for this site.

Constructor & Destructor Documentation

__construct (   $root,
ModuleHandlerInterface  $module_handler,
StateInterface  $state,

Constructs a new UpdateReady object.

string$rootThe root location under which updated projects will be saved.
\Drupal\Core\Extension\ModuleHandlerInterface$module_handlerThe object that manages enabled modules in a Drupal installation.
\Drupal\Core\State\StateInterface$stateThe state key value store.
string$site_pathThe site path.

References Drupal\moduleHandler(), Drupal\root(), and Drupal\state().

Here is the call graph for this function:

Member Function Documentation

buildForm ( array  $form,
FormStateInterface  $form_state 


References Drupal\moduleHandler(), and t().

Here is the call graph for this function:

static create ( ContainerInterface  $container)


getFormId ( )


submitForm ( array &  $form,
FormStateInterface  $form_state 


References drupal_realpath(), Updater\factory(), FormStateInterface\getValue(), Drupal\moduleHandler(), Drupal\root(), FormStateInterface\setRedirectUrl(), FormStateInterface\setResponse(), Drupal\state(), and t().

Here is the call graph for this function:

The documentation for this class was generated from the following file: