Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
3d48f0aa
Commit
3d48f0aa
authored
Jul 29, 2012
by
Tim Plunkett
Browse files
Clean up stray references to plugin managers other than ViewsPluginManager.
parent
d9c2ed42
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
View file @
3d48f0aa
...
...
@@ -893,7 +893,7 @@ function get_plugin($type = 'style', $name = NULL) {
$plugin
=
views_get_plugin
(
$type
,
$name
);
}
else
{
$plugin_type
=
new
Query
PluginManager
();
$plugin_type
=
new
Views
PluginManager
(
'query'
);
$plugin
=
$plugin_type
->
createInstance
(
$name
);
}
...
...
views_ui.module
View file @
3d48f0aa
...
...
@@ -629,7 +629,7 @@ function views_ui_ctools_plugin_type() {
}
function
views_ui_get_form_wizard_instance
(
$wizard
)
{
$manager
=
new
WizardManager
(
);
$manager
=
new
ViewsPluginManager
(
'wizard'
);
$instance
=
$manager
->
createInstance
(
$wizard
[
'name'
]);
return
$instance
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment