public function JstimerAdminSettings::buildForm in Javascript Timer 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 ConfigFormBase::buildForm
File
- src/
Form/ JstimerAdminSettings.php, line 30 - Contains \Drupal\jstimer\Form\JstimerAdminSettings.
Class
Namespace
Drupal\jstimer\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$config = $this->configFactory
->get('jstimer.settings');
$form = [];
// Placeholder method for global jstimer settings. Currently none.
$form = parent::buildForm($form, $form_state);
return $form;
}