function AddHandler::__construct

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

Constructs a new AddHandler object.

File

core/modules/views_ui/src/Form/Ajax/AddHandler.php, line 20

Class

AddHandler
Provides a form for adding an item in the Views UI.

Namespace

Drupal\views_ui\Form\Ajax

Code

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

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