public static function Views::pluginManager in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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
2 calls to Views::pluginManager()
- DisplayPluginBase::initDisplay in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Initializes the display plugin.
- ViewExecutable::initDisplay in core/
modules/ views/ src/ ViewExecutable.php - Set the display for this view and initialize the display handler.
File
- core/
modules/ views/ src/ Views.php, line 104 - Contains \Drupal\views\Views.
Class
- Views
- Static service container wrapper for views.
Namespace
Drupal\viewsCode
public static function pluginManager($type) {
return \Drupal::service('plugin.manager.views.' . $type);
}