Skip to content
Snippets Groups Projects

Issue #3447794: Statically cache editor attachments per format.

Closed Issue #3447794: Statically cache editor attachments per format.
1 unresolved thread
Closed godotislate requested to merge issue/drupal-3447794:3447794-pages-with-multiple into 11.x
1 unresolved thread

Closes #3447794

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
31 public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
26 protected array $attachments = ['library' => []];
27
28 /**
29 * Editors.
30 *
31 * @var array
32 */
33 protected array $editors = [];
34
35 public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler, protected ?EntityTypeManagerInterface $entityTypeManager = NULL) {
32 36 parent::__construct('Plugin/Editor', $namespaces, $module_handler, EditorPluginInterface::class, Editor::class, 'Drupal\editor\Annotation\Editor');
33 37 $this->alterInfo('editor_info');
34 38 $this->setCacheBackend($cache_backend, 'editor_plugins');
39 if ($this->entityTypeManager === NULL) {
40 @trigger_error('Calling ' . __METHOD__ . '() without the $moduleExtensionList argument is deprecated in drupal:11.2.0 and will be required in drupal:12.0.0. See https://www.drupal.org/project/drupal/issues/3447794', E_USER_DEPRECATED);
  • godotislate added 1 commit

    added 1 commit

    Compare with previous version

  • closed

  • Please register or sign in to reply
    Loading