function EditorFileReference::create
Same name in other branches
- 9 core/modules/editor/src/Plugin/Filter/EditorFileReference.php \Drupal\editor\Plugin\Filter\EditorFileReference::create()
- 8.9.x 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 67
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'), $container->get('image.factory'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.