You are here

public static function ViewExecutable::getHandlerTypes in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::getHandlerTypes()

Provides a list of views handler types used in a view.

This also provides some information about the views handler types.

Return value

array An array of associative arrays containing:

  • title: The title of the handler type.
  • ltitle: The lowercase title of the handler type.
  • stitle: A singular title of the handler type.
  • lstitle: A singular lowercase title of the handler type.
  • plural: Plural version of the handler type.
  • (optional) type: The actual internal used handler type. This key is just used for header,footer,empty to link to the internal type: area.
28 calls to ViewExecutable::getHandlerTypes()
AddHandler::buildForm in core/modules/views_ui/src/Form/Ajax/AddHandler.php
Form constructor.
ConfigHandler::buildForm in core/modules/views_ui/src/Form/Ajax/ConfigHandler.php
Form constructor.
ConfigHandler::submitForm in core/modules/views_ui/src/Form/Ajax/ConfigHandler.php
Form submission handler.
ConfigHandlerExtra::buildForm in core/modules/views_ui/src/Form/Ajax/ConfigHandlerExtra.php
Form constructor.
ConfigHandlerGroup::buildForm in core/modules/views_ui/src/Form/Ajax/ConfigHandlerGroup.php
Form constructor.

... See full list

File

core/modules/views/src/ViewExecutable.php, line 2139

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

public static function getHandlerTypes() {
  return Views::getHandlerTypes();
}