public function ResetStatusEntityConfirmation::buildForm in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Form/ResetStatusEntityConfirmation.php \Drupal\cms_content_sync\Form\ResetStatusEntityConfirmation::buildForm()
- 2.0.x src/Form/ResetStatusEntityConfirmation.php \Drupal\cms_content_sync\Form\ResetStatusEntityConfirmation::buildForm()
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
- src/
Form/ ResetStatusEntityConfirmation.php, line 67
Class
- ResetStatusEntityConfirmation
- Provides the confirmation form for the pool reset entity status action.
Namespace
Drupal\cms_content_sync\FormCode
public function buildForm(array $form, FormStateInterface $form_state, $cms_content_sync_pool = null) {
$this->cms_content_sync_pool = $cms_content_sync_pool;
$this->pool = $this->pool_storage
->load($this->cms_content_sync_pool);
return parent::buildForm($form, $form_state);
}