You are here

public function RearrangeFilter::__construct in Drupal 8

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

Constructs a new RearrangeFilter object.

File

core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php, line 19

Class

RearrangeFilter
Provides a rearrange form for Views filters.

Namespace

Drupal\views_ui\Form\Ajax

Code

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