Commit 3c89fb90 authored by alexpott's avatar alexpott

Issue #2219689 followup by damiankloip: Separate out logic for...

Issue #2219689 followup by damiankloip: Separate out logic for getPluginTypes/viewsHandlerTypes from ViewExecutable.
parent ac120e26
......@@ -28,6 +28,33 @@ class Views {
*/
protected static $handlerTypes;
/**
* A list of all available views plugin types.
*
* @var array
*/
protected static $plugins = array(
'access' => 'plugin',
'area' => 'handler',
'argument' => 'handler',
'argument_default' => 'plugin',
'argument_validator' => 'plugin',
'cache' => 'plugin',
'display_extender' => 'plugin',
'display' => 'plugin',
'exposed_form' => 'plugin',
'field' => 'handler',
'filter' => 'handler',
'join' => 'plugin',
'pager' => 'plugin',
'query' => 'plugin',
'relationship' => 'handler',
'row' => 'plugin',
'sort' => 'handler',
'style' => 'plugin',
'wizard' => 'plugin',
);
/**
* Returns the views data service.
*
......@@ -382,33 +409,6 @@ public static function pluginList() {
return $plugins;
}
/**
* A list of all available views plugin types.
*
* @var array
*/
protected static $plugins = array(
'access' => 'plugin',
'area' => 'handler',
'argument' => 'handler',
'argument_default' => 'plugin',
'argument_validator' => 'plugin',
'cache' => 'plugin',
'display_extender' => 'plugin',
'display' => 'plugin',
'exposed_form' => 'plugin',
'field' => 'handler',
'filter' => 'handler',
'join' => 'plugin',
'pager' => 'plugin',
'query' => 'plugin',
'relationship' => 'handler',
'row' => 'plugin',
'sort' => 'handler',
'style' => 'plugin',
'wizard' => 'plugin',
);
/**
* Provide a list of views handler types used in a view, with some information
* about them.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment