public function FlipbookSettingsForm::buildForm in 3D Flipbook 8
Define the form used for FlipbookEntity settings.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: An associative array containing the current state of the form.
Return value
array Form definition array.
Overrides FormInterface::buildForm
File
- src/
Form/ FlipbookSettingsForm.php, line 49
Class
- FlipbookSettingsForm
- Class ContentEntityExampleSettingsForm.
Namespace
Drupal\flipbook\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form['flipbook_settings']['#markup'] = 'Settings form for FlipbookEntity. Manage field settings here.';
return $form;
}