public function PanelizerDefaultDelete::buildForm in Panelizer 8.3
Same name and namespace in other branches
- 8.5 src/Form/PanelizerDefaultDelete.php \Drupal\panelizer\Form\PanelizerDefaultDelete::buildForm()
- 8.4 src/Form/PanelizerDefaultDelete.php \Drupal\panelizer\Form\PanelizerDefaultDelete::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/ PanelizerDefaultDelete.php, line 142
Class
Namespace
Drupal\panelizer\FormCode
public function buildForm(array $form, FormStateInterface $form_state, $machine_name = NULL) {
list($this->entityTypeId, $this->bundle, $this->viewMode, $this->displayId) = explode('__', $machine_name);
return parent::buildForm($form, $form_state);
}