public static function PluginBase::create in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::create()
- 9 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::create()
7 methods override PluginBase::create()
- CacheableMetadataCalculationTest::create in core/
modules/ views/ tests/ modules/ views_test_cacheable_metadata_calculation/ src/ Plugin/ views/ access/ CacheableMetadataCalculationTest.php - Creates an instance of the plugin.
- Permission::create in core/
modules/ user/ src/ Plugin/ views/ access/ Permission.php - Creates an instance of the plugin.
- Role::create in core/
modules/ user/ src/ Plugin/ views/ access/ Role.php - Creates an instance of the plugin.
- Serializer::create in core/
modules/ rest/ src/ Plugin/ views/ style/ Serializer.php - Creates an instance of the plugin.
- SqlBase::create in core/
modules/ views/ src/ Plugin/ views/ pager/ SqlBase.php - Creates an instance of the plugin.
File
- core/
modules/ views/ src/ Plugin/ views/ PluginBase.php, line 129
Class
Namespace
Drupal\views\Plugin\viewsCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition);
}