You are here

public function BasicSettingsForm::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 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()

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;
}