public function TopUrls::buildSettingsForm in Dashboards with Layout Builder 8
Same name and namespace in other branches
- 2.0.x modules/dashboards_matomo/src/Plugin/Dashboard/TopUrls.php \Drupal\dashboards_matomo\Plugin\Dashboard\TopUrls::buildSettingsForm()
Build render array.
Parameters
array $form: Default form.
\Drupal\Core\Form\FormStateInterface $form_state: Default form.
array $configuration: Configuration.
Return value
array Return form array.
Overrides MatomoBase::buildSettingsForm
File
- modules/
dashboards_matomo/ src/ Plugin/ Dashboard/ TopUrls.php, line 22
Class
- TopUrls
- Show account info.
Namespace
Drupal\dashboards_matomo\Plugin\DashboardCode
public function buildSettingsForm(array $form, FormStateInterface $form_state, array $configuration) : array {
$form = parent::buildSettingsForm($form, $form_state, $configuration);
$form['chart_type']['#access'] = FALSE;
return $form;
}