function FilterCaption::create
Same name in other branches
- 9 core/modules/filter/src/Plugin/Filter/FilterCaption.php \Drupal\filter\Plugin\Filter\FilterCaption::create()
- 10 core/modules/filter/src/Plugin/Filter/FilterCaption.php \Drupal\filter\Plugin\Filter\FilterCaption::create()
- 11.x core/modules/filter/src/Plugin/Filter/FilterCaption.php \Drupal\filter\Plugin\Filter\FilterCaption::create()
Overrides ContainerFactoryPluginInterface::create
File
-
core/
modules/ filter/ src/ Plugin/ Filter/ FilterCaption.php, line 54
Class
- FilterCaption
- Provides a filter to caption elements.
Namespace
Drupal\filter\Plugin\FilterCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container->get('plugin.manager.filter'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.