ConfigHandlerExtra::getFormId

public ConfigHandlerExtra::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/views_ui/src/Form/Ajax/ConfigHandlerExtra.php, line 41 Class ConfigHandlerExtra Provides a form for configuring extra information for a Views UI item. Namespace Drupal\views_ui\Form\Ajax Code public function getFormId() { return 'views_ui_config_item_extra_form'; }

ConfigHandlerExtra::getForm

public ConfigHandlerExtra::getForm(ViewEntityInterface $view, $display_id, $js, $type = NULL, $id = NULL) Creates a new instance of this form. @todo When https://www.drupal.org/node/1843224 is in, this will return \Drupal\Core\Ajax\AjaxResponse instead of the array of AJAX commands. Parameters \Drupal\views\ViewEntityInterface $view: The view being edited. string|null $display_id: The display ID being edited, or NULL to load the first available display. string $js: If this is an AJAX form, it

ConfigHandlerExtra::buildForm

public ConfigHandlerExtra::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/views_ui/src/Form/Ajax/ConfigHandlerExtra.php, line 48 Class ConfigHandlerExtra Provides a form for configuring extra information for a

ConfigHandlerExtra

Provides a form for configuring extra information for a Views UI item. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\views_ui\Form\Ajax\ViewsFormBase implements ViewsFormInterfaceclass \Drupal\views_ui\Form\Ajax\ConfigHandlerExtra File core/modules/views_ui/src/Form/Ajax/ConfigHandlerEx

ConfigHandler::__construct

public ConfigHandler::__construct($type = NULL, $id = NULL) Constructs a new ConfigHandler object. File core/modules/views_ui/src/Form/Ajax/ConfigHandler.php, line 19 Class ConfigHandler Provides a form for configuring an item in the Views UI. Namespace Drupal\views_ui\Form\Ajax Code public function __construct($type = NULL, $id = NULL) { $this->setType($type); $this->setID($id); }

ConfigHandler::validateForm

public ConfigHandler::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides ViewsFormBase::validateForm File core/modules/views_ui/src/Form/Ajax/ConfigHandler.php, line 192 Class ConfigHandler Provides a form for configuring an item in the Views UI. Namespace Drupal\views_ui\Form\A

ConfigHandler::submitForm

public ConfigHandler::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides ViewsFormBase::submitForm File core/modules/views_ui/src/Form/Ajax/ConfigHandler.php, line 203 Class ConfigHandler Provides a form for configuring an item in the Views UI. Namespace Drupal\views_ui\Form\Ajax

ConfigHandler::remove

public ConfigHandler::remove(&$form, FormStateInterface $form_state) Submit handler for removing an item from a view File core/modules/views_ui/src/Form/Ajax/ConfigHandler.php, line 261 Class ConfigHandler Provides a form for configuring an item in the Views UI. Namespace Drupal\views_ui\Form\Ajax Code public function remove(&$form, FormStateInterface $form_state) { $view = $form_state->get('view'); $display_id = $form_state->get('display_id'); $type = $form_state-&

ConfigHandler::getFormKey

public ConfigHandler::getFormKey() Returns the key that represents this form. Return value string The form key used in the URL, e.g., the string 'add-handler' in 'admin/structure/views/%/add-handler/%/%/%'. Overrides ViewsFormInterface::getFormKey File core/modules/views_ui/src/Form/Ajax/ConfigHandler.php, line 27 Class ConfigHandler Provides a form for configuring an item in the Views UI. Namespace Drupal\views_ui\Form\Ajax Code public function getFormKey() { return 'handler'; }

ConfigHandler::getFormId

public ConfigHandler::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/views_ui/src/Form/Ajax/ConfigHandler.php, line 43 Class ConfigHandler Provides a form for configuring an item in the Views UI. Namespace Drupal\views_ui\Form\Ajax Code public function getFormId() { return 'views_ui_config_item_form'; }