Update to drupal 8.0.0-rc1. For more information, see https://www.drupal.org/node/2582663
This commit is contained in:
parent
eb34d130a8
commit
f32e58e4b1
8476 changed files with 211648 additions and 170042 deletions
|
@ -62,6 +62,17 @@ class SimpletestTestForm extends FormBase {
|
|||
'#tableselect' => TRUE,
|
||||
'#button_type' => 'primary',
|
||||
);
|
||||
$form['clean'] = array(
|
||||
'#type' => 'fieldset',
|
||||
'#title' => $this->t('Clean test environment'),
|
||||
'#description' => $this->t('Remove tables with the prefix "simpletest" and temporary directories that are left over from tests that crashed. This is intended for developers when creating tests.'),
|
||||
'#weight' => 200,
|
||||
);
|
||||
$form['clean']['op'] = array(
|
||||
'#type' => 'submit',
|
||||
'#value' => $this->t('Clean environment'),
|
||||
'#submit' => array('simpletest_clean_environment'),
|
||||
);
|
||||
|
||||
// Do not needlessly re-execute a full test discovery if the user input
|
||||
// already contains an explicit list of test classes to run.
|
||||
|
@ -187,18 +198,6 @@ class SimpletestTestForm extends FormBase {
|
|||
}
|
||||
}
|
||||
|
||||
$form['clean'] = array(
|
||||
'#type' => 'fieldset',
|
||||
'#title' => $this->t('Clean test environment'),
|
||||
'#description' => $this->t('Remove tables with the prefix "simpletest" and temporary directories that are left over from tests that crashed. This is intended for developers when creating tests.'),
|
||||
'#weight' => 200,
|
||||
);
|
||||
$form['clean']['op'] = array(
|
||||
'#type' => 'submit',
|
||||
'#value' => $this->t('Clean environment'),
|
||||
'#submit' => array('simpletest_clean_environment'),
|
||||
);
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue