You are here

public static function ViewExecutable::getPluginTypes in Views (for Drupal 7) 8.3

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 lib/Drupal/views/Tests/PluginTypeListTest.php
Tests the plugins list is correct.
ViewsBundle::build in lib/Drupal/views/ViewsBundle.php
Overrides Symfony\Component\HttpKernel\Bundle\Bundle::build().
views_get_plugin_definitions in ./views.module
Gets all the views plugin definitions.

File

lib/Drupal/views/ViewExecutable.php, line 1994
Definition of Drupal\views\ViewExecutable.

Class

ViewExecutable
An object to contain all of the data to generate a view, plus the member functions to build the view query, execute the query and render the output.

Namespace

Drupal\views

Code

public static function getPluginTypes() {
  return array(
    'access',
    'area',
    'argument',
    'argument_default',
    'argument_validator',
    'cache',
    'display_extender',
    'display',
    'exposed_form',
    'field',
    'filter',
    'join',
    'pager',
    'query',
    'relationship',
    'row',
    'sort',
    'style',
    'wizard',
  );
}