From 4c4a0396bab435dbb62fa42e8c0408a53e93ef97 Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole Date: Tue, 17 May 2016 10:46:34 +0100 Subject: [PATCH] Issue #2723587 by marvin_B8, snehi, Beau Townsend, valthebald, John Cook: Remove entity_load* usage for 'editor' entity type --- .../ckeditor/src/Tests/CKEditorAdminTest.php | 18 +++++++++--------- .../ckeditor/src/Tests/CKEditorLoadingTest.php | 2 +- .../tests/modules/src/Kernel/CKEditorTest.php | 10 +++++----- core/modules/editor/editor.module | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/core/modules/ckeditor/src/Tests/CKEditorAdminTest.php b/core/modules/ckeditor/src/Tests/CKEditorAdminTest.php index 77115e6bcf15..f10080a46d0f 100644 --- a/core/modules/ckeditor/src/Tests/CKEditorAdminTest.php +++ b/core/modules/ckeditor/src/Tests/CKEditorAdminTest.php @@ -55,7 +55,7 @@ class CKEditorAdminTest extends WebTestBase { $this->drupalGet('admin/config/content/formats/manage/filtered_html'); // Ensure no Editor config entity exists yet. - $editor = entity_load('editor', 'filtered_html'); + $editor = Editor::load('filtered_html'); $this->assertFalse($editor, 'No Editor config entity exists yet.'); // Verify the "Text Editor"