Added argument to list of plugin types _views_fetch_plugin_data
parent
64002e8743
commit
dfe10cee68
|
@ -91,7 +91,7 @@ function _views_data_process_entity_types(&$data) {
|
||||||
function _views_fetch_plugin_data($type = NULL, $plugin_id = NULL, $reset = FALSE) {
|
function _views_fetch_plugin_data($type = NULL, $plugin_id = NULL, $reset = FALSE) {
|
||||||
if (!$type && !$plugin_id) {
|
if (!$type && !$plugin_id) {
|
||||||
$plugins = array();
|
$plugins = array();
|
||||||
$plugin_types = array('access', 'argument_default', 'argument_validator', 'cache', 'display_extender', 'display', 'exposed_form', 'localization', 'pager', 'query', 'row', 'style', 'wizard');
|
$plugin_types = array('access', 'argument', 'argument_default', 'argument_validator', 'cache', 'display_extender', 'display', 'exposed_form', 'localization', 'pager', 'query', 'row', 'style', 'wizard');
|
||||||
foreach ($plugin_types as $plugin_type) {
|
foreach ($plugin_types as $plugin_type) {
|
||||||
$manager = new ViewsPluginManager($plugin_type);
|
$manager = new ViewsPluginManager($plugin_type);
|
||||||
$plugins[$plugin_type] = $manager->getDefinitions();
|
$plugins[$plugin_type] = $manager->getDefinitions();
|
||||||
|
|
Loading…
Reference in New Issue