public function StorySettingsForm::buildForm in Drupal PM (Project Management) 4.x
Defines the settings form for Story entities.
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 Form definition array.
Overrides FormInterface::buildForm
File
- modules/
pm_story/ src/ Form/ StorySettingsForm.php, line 48
Class
- StorySettingsForm
- Story settings form.
Namespace
Drupal\pm_story\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form['story_settings']['#markup'] = 'Settings form for Story entities. Manage field settings here.';
return $form;
}