You are here

public function AddHandler::getForm in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/Form/Ajax/AddHandler.php \Drupal\views_ui\Form\Ajax\AddHandler::getForm()
  2. 9 core/modules/views_ui/src/Form/Ajax/AddHandler.php \Drupal\views_ui\Form\Ajax\AddHandler::getForm()
1 string reference to 'AddHandler::getForm'
views_ui.routing.yml in core/modules/views_ui/views_ui.routing.yml
core/modules/views_ui/views_ui.routing.yml

File

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

Class

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

Namespace

Drupal\views_ui\Form\Ajax

Code

public function getForm(ViewEntityInterface $view, $display_id, $js, $type = NULL) {
  $this
    ->setType($type);
  return parent::getForm($view, $display_id, $js);
}