Issue #3447794: Statically cache editor attachments per format.
1 unresolved thread
Closes #3447794
Merge request reports
Activity
added 1 commit
- c0e802fe - Check for cached editor in EditorManager::getAttachments()
added 642 commits
-
521b8be4...7c9a85af - 638 commits from branch
project:11.x
- 7bb1f1fb - Issue #3447794: Statically cache editor attachments per format.
- 5902b512 - Check for cached editor in EditorManager::getAttachments()
- 7342cd83 - Move $settings outside foreach() loop
- 5bb6d598 - Use ::loadMultiple on editor entities with specified IDs.
Toggle commit list-
521b8be4...7c9a85af - 638 commits from branch
added 20 commits
-
b2601de8...6dd918c9 - 14 commits from branch
project:11.x
- 3e269366 - Issue #3447794: Statically cache editor attachments per format.
- 38d50564 - Check for cached editor in EditorManager::getAttachments()
- 101e0c44 - Move $settings outside foreach() loop
- bc31e54a - Use ::loadMultiple on editor entities with specified IDs.
- 787eeb75 - Fix static caching logic.
- d34eaa6f - Deprecate editor_load().
Toggle commit list-
b2601de8...6dd918c9 - 14 commits from branch
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); changed this line in version 9 of the diff
Please register or sign in to reply