You are here

public function Display::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/Form/Ajax/Display.php \Drupal\views_ui\Form\Ajax\Display::__construct()

Constructs a new Display object.

File

core/modules/views_ui/src/Form/Ajax/Display.php, line 18

Class

Display
Provides a form for editing the Views display.

Namespace

Drupal\views_ui\Form\Ajax

Code

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