public function ChartsConfigForm::buildForm in Charts 8.3
Same name in this branch
- 8.3 src/Form/ChartsConfigForm.php \Drupal\charts\Form\ChartsConfigForm::buildForm()
- 8.3 modules/charts_chartjs/src/Form/ChartsConfigForm.php \Drupal\charts_chartjs\Form\ChartsConfigForm::buildForm()
- 8.3 modules/charts_google/src/Form/ChartsConfigForm.php \Drupal\charts_google\Form\ChartsConfigForm::buildForm()
- 8.3 modules/charts_billboard/src/Form/ChartsConfigForm.php \Drupal\charts_billboard\Form\ChartsConfigForm::buildForm()
- 8.3 modules/charts_c3/src/Form/ChartsConfigForm.php \Drupal\charts_c3\Form\ChartsConfigForm::buildForm()
- 8.3 modules/charts_highcharts/src/Form/ChartsConfigForm.php \Drupal\charts_highcharts\Form\ChartsConfigForm::buildForm()
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
- modules/
charts_billboard/ src/ Form/ ChartsConfigForm.php, line 31
Class
- ChartsConfigForm
- Charts Config Form.
Namespace
Drupal\charts_billboard\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$config = $this
->config('charts_billboard.settings');
$form['placeholder'] = [
'#title' => $this
->t('Placeholder'),
'#type' => 'fieldset',
'#description' => $this
->t('This is a placeholder for Billboard.js-specific library options. If you would like to help build this out, please work from <a href="@issue_link">this issue</a>.', [
'@issue_link' => Url::fromUri('https://www.drupal.org/project/charts/issues/3046983')
->toString(),
]),
];
return parent::buildForm($form, $form_state);
}