protected function Editor::editorPluginManager in Drupal 9
Same name and namespace in other branches
- 8 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::editorPluginManager()
Returns the editor plugin manager.
Return value
\Drupal\Component\Plugin\PluginManagerInterface
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;
}