function BasicSettingsForm::__construct

Same name in other branches
  1. 8.9.x core/modules/views_ui/src/Form/BasicSettingsForm.php \Drupal\views_ui\Form\BasicSettingsForm::__construct()
  2. 10 core/modules/views_ui/src/Form/BasicSettingsForm.php \Drupal\views_ui\Form\BasicSettingsForm::__construct()
  3. 11.x core/modules/views_ui/src/Form/BasicSettingsForm.php \Drupal\views_ui\Form\BasicSettingsForm::__construct()

Constructs a \Drupal\views_ui\Form\BasicSettingsForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.

Overrides ConfigFormBase::__construct

File

core/modules/views_ui/src/Form/BasicSettingsForm.php, line 33

Class

BasicSettingsForm
Form builder for the admin display defaults page.

Namespace

Drupal\views_ui\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ThemeHandlerInterface $theme_handler) {
    parent::__construct($config_factory);
    $this->themeHandler = $theme_handler;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.