public function PoolRequired::submitForm in CMS Content Sync 2.0.x
Same name and namespace in other branches
- 8 src/Form/PoolRequired.php \Drupal\cms_content_sync\Form\PoolRequired::submitForm()
- 2.1.x src/Form/PoolRequired.php \Drupal\cms_content_sync\Form\PoolRequired::submitForm()
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
- src/
Form/ PoolRequired.php, line 67
Class
- PoolRequired
- Provides a node deletion confirmation form.
Namespace
Drupal\cms_content_sync\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$form_state
->setRedirect('entity.cms_content_sync_pool.add_form');
}