public function StatusTypeForm::buildForm in Heartbeat 8
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 EntityForm::buildForm
File
- modules/
statusmessage/ src/ Form/ StatusTypeForm.php, line 38
Class
- StatusTypeForm
- Class StatusTypeForm.
Namespace
Drupal\statusmessage\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$this->mimeTypes = $this->statusService
->getMimeTypes();
return parent::buildForm($form, $form_state);
// TODO: Change the autogenerated stub
}