public function UpgradeRectorForm::submitContribRector in Upgrade Rector 8
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.
File
- src/
Form/ UpgradeRectorForm.php, line 170
Class
Namespace
Drupal\upgrade_rector\FormCode
public function submitContribRector(array &$form, FormStateInterface $form_state) {
$projects = $this->projectCollector
->collectProjects();
$this
->submitRector($projects['contrib'][$form_state
->getValue([
'contrib',
'data',
'project',
])]);
}