You are here

public function ConfigHandler::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views_ui/src/Form/Ajax/ConfigHandler.php \Drupal\views_ui\Form\Ajax\ConfigHandler::__construct()
  2. 10 core/modules/views_ui/src/Form/Ajax/ConfigHandler.php \Drupal\views_ui\Form\Ajax\ConfigHandler::__construct()

Constructs a new ConfigHandler object.

File

core/modules/views_ui/src/Form/Ajax/ConfigHandler.php, line 21

Class

ConfigHandler
Provides a form for configuring an item in the Views UI.

Namespace

Drupal\views_ui\Form\Ajax

Code

public function __construct($type = NULL, $id = NULL) {
  $this
    ->setType($type);
  $this
    ->setID($id);
}