function ViewExecutable::getPluginTypes
Same name and namespace in other branches
- 11.x core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::getPluginTypes()
- 10 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::getPluginTypes()
- 9 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::getPluginTypes()
- 8.9.x core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::getPluginTypes()
Returns the valid types of plugins that can be used.
Return value
array An array of plugin type strings.
2 calls to ViewExecutable::getPluginTypes()
- PluginTypeListTest::testPluginList in core/
modules/ views/ tests/ src/ Unit/ PluginTypeListTest.php - Tests the plugins list is correct.
- Views::getPluginDefinitions in core/
modules/ views/ src/ Views.php - Gets all the views plugin definitions.
File
-
core/
modules/ views/ src/ ViewExecutable.php, line 2193
Class
- ViewExecutable
- Represents a view as a whole.
Namespace
Drupal\viewsCode
public static function getPluginTypes($type = NULL) {
return Views::getPluginTypes($type);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.