function Editor::editorPluginManager
Same name in other branches
- 9 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()
- 11.x 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.