You are here

public function AddHandler::__construct in Drupal 8

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