Closed (fixed)
Project:
Drupal core
Version:
8.2.x-dev
Component:
editor.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 May 2016 at 19:58 UTC
Updated:
31 May 2016 at 12:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
valthebaldSee #2359437: [meta] Remove entity_load* family of functions usage from the code base
Comment #3
Beau Townsend commentedWorking on removing & replacing instances of deprecated entity_load* 'editor' functions.
Comment #4
Beau Townsend commentedPatch for above issue.
Comment #5
valthebaldFor entity_load('editor') in tests, please use Editor::load() - it's shorter, and usage of global \Drupal object in tests is discourageed
Comment #7
marvin_b8 commentedComment #8
john cook commentedAfter applying the patch there is still one more use of functional loading:
Editor::loadMultiple()can be used to retrieve multiple entities.Comment #9
john cook commentedUpdated summary.
Comment #10
marvin_b8 commentedComment #11
snehi commentedDone.
Comment #12
snehi commentedSame timing for Patch coincidence :)
Comment #15
john cook commentedThe patches in comments #10 and #11 contain the same changes.
After applying patch #11 there were no more calls to entity_load*() for the editor entity type.
Comment #17
john cook commentedThe testbot has passed #11, so setting back to RTBC.
Comment #18
catchComment #20
wim leersThank you!