You are here

public function MeetingDeleteForm::buildForm in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x src/Form/MeetingDeleteForm.php \Drupal\opigno_moxtra\Form\MeetingDeleteForm::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 ContentEntityConfirmFormBase::buildForm

File

src/Form/MeetingDeleteForm.php, line 37

Class

MeetingDeleteForm
Provides a form for deleting a opigno_moxtra_meeting entity.

Namespace

Drupal\opigno_moxtra\Form

Code

public function buildForm(array $form, FormStateInterface $form_state) {
  $this->hasResults = $this
    ->_hasResults();
  $this->hasTraining = $this
    ->_hasTraining();
  $form = parent::buildForm($form, $form_state);
  return $form;
}