function views_get_plugin_definitions

Gets all the views plugin definitions.

Return value

array An array of plugin definitions for all types.

3 calls to views_get_plugin_definitions()

File

drupal/core/modules/views/views.module, line 944
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_get_plugin_definitions() {
  $plugins = array();
  foreach (ViewExecutable::getPluginTypes() as $plugin_type) {
    $plugins[$plugin_type] = Views::pluginManager($plugin_type)
      ->getDefinitions();
  }
  return $plugins;
}