public function HeartbeatSettingsForm::buildForm in Heartbeat 8
Defines the settings form for Heartbeat 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
- src/
Form/ HeartbeatSettingsForm.php, line 50
Class
- HeartbeatSettingsForm
- Class HeartbeatSettingsForm.
Namespace
Drupal\heartbeat\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form['Heartbeat_settings']['#markup'] = 'Settings form for Heartbeat entities. Manage field settings here.';
return $form;
}