public static function Views::pluginManager in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Views.php \Drupal\views\Views::pluginManager()
- 9 core/modules/views/src/Views.php \Drupal\views\Views::pluginManager()
Returns the plugin manager for a certain views plugin type.
Parameters
string $type: The plugin type, for example filter.
Return value
\Drupal\views\Plugin\ViewsPluginManager
13 calls to Views::pluginManager()
- DisplayTest::testDisplayPluginsAlter in core/
modules/ views_ui/ tests/ src/ Functional/ DisplayTest.php - Tests views_ui_views_plugins_display_alter is altering plugin definitions.
- ModerationStateFilter::opSimple in core/
modules/ content_moderation/ src/ Plugin/ views/ filter/ ModerationStateFilter.php - ModerationStateJoinViewsHandlerTrait::ensureMyTable in core/
modules/ content_moderation/ src/ Plugin/ views/ ModerationStateJoinViewsHandlerTrait.php - PathPluginBase::getRoute in core/
modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.php - Generates a route entry for a given view and display.
- RelationshipPluginBase::query in core/
modules/ views/ src/ Plugin/ views/ relationship/ RelationshipPluginBase.php
File
- core/
modules/ views/ src/ Views.php, line 99
Class
- Views
- Static service container wrapper for views.
Namespace
Drupal\viewsCode
public static function pluginManager($type) {
return \Drupal::service('plugin.manager.views.' . $type);
}