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