You are here

public static function ViewExecutable::getPluginTypes in Drupal 8

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

Returns the valid types of plugins that can be used.

Return value

array An array of plugin type strings.

3 calls to ViewExecutable::getPluginTypes()
PluginTypeListTest::testPluginList in core/modules/views/tests/src/Unit/PluginTypeListTest.php
Tests the plugins list is correct.
Views::getPluginDefinitions in core/modules/views/src/Views.php
Gets all the views plugin definitions.
views_hook_info in core/modules/views/views.module
Implements hook_hook_info().

File

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

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

public static function getPluginTypes($type = NULL) {
  return Views::getPluginTypes($type);
}