ViewExecutable::getHandlerTypes

public static 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.

File

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

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

public static function getHandlerTypes() {
  return Views::getHandlerTypes();
}
doc_Drupal
2016-10-29 09:54:20
Comments
Leave a Comment

Please login to continue.