You are here

protected function Editor::editorPluginManager in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 135
Contains \Drupal\editor\Entity\Editor.

Class

Editor
Defines the configured text editor entity.

Namespace

Drupal\editor\Entity

Code

protected function editorPluginManager() {
  if (!$this->editorPluginManager) {
    $this->editorPluginManager = \Drupal::service('plugin.manager.editor');
  }
  return $this->editorPluginManager;
}