protected function Editor::editorPluginManager in Drupal 10
Same name and namespace in other branches
- 8 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::editorPluginManager()
- 9 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::editorPluginManager()
Returns the editor plugin manager.
Return value
\Drupal\Component\Plugin\PluginManagerInterface
2 calls to Editor::editorPluginManager()
- Editor::calculateDependencies in core/
modules/ editor/ src/ Entity/ Editor.php - Calculates dependencies and stores them in the dependency property.
- Editor::__construct in core/
modules/ editor/ src/ Entity/ Editor.php - Constructs an Entity object.
File
- core/
modules/ editor/ src/ Entity/ Editor.php, line 140
Class
- Editor
- Defines the configured text editor entity.
Namespace
Drupal\editor\EntityCode
protected function editorPluginManager() {
if (!$this->editorPluginManager) {
$this->editorPluginManager = \Drupal::service('plugin.manager.editor');
}
return $this->editorPluginManager;
}