From 53302eeb2757ee9487acb7406babf43c0064fec4 Mon Sep 17 00:00:00 2001 From: webchick <webchick@24967.no-reply.drupal.org> Date: Thu, 19 Dec 2013 10:25:50 -0800 Subject: [PATCH] Issue #2155889 by tim.plunkett: Remove Editor::label(). --- core/modules/editor/lib/Drupal/editor/Entity/Editor.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/core/modules/editor/lib/Drupal/editor/Entity/Editor.php b/core/modules/editor/lib/Drupal/editor/Entity/Editor.php index a7bc66cfea08..f6f1c6c586c1 100644 --- a/core/modules/editor/lib/Drupal/editor/Entity/Editor.php +++ b/core/modules/editor/lib/Drupal/editor/Entity/Editor.php @@ -66,14 +66,6 @@ public function id() { return $this->format; } - /** - * Overrides Drupal\Core\Entity\Entity::label(). - */ - public function label($langcode = NULL) { - $format = entity_load('filter_format', $this->format); - return $format->name; - } - /** * Overrides Drupal\Core\Entity\Entity::__construct() */ -- GitLab