function Editor::editorPluginManager
Same name in other branches
- 9 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::editorPluginManager()
- 8.9.x core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::editorPluginManager()
- 10 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 160
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.