core/modules/editor/lib/Drupal/editor/Entity/Editor.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/modules/editor/lib/Drupal/editor/Entity/Editor.php b/core/modules/editor/lib/Drupal/editor/Entity/Editor.php index 82b4ff7..bddff85 100644 --- a/core/modules/editor/lib/Drupal/editor/Entity/Editor.php +++ b/core/modules/editor/lib/Drupal/editor/Entity/Editor.php @@ -89,6 +89,13 @@ public function __construct(array $values, $entity_type) { /** * {@inheritdoc} */ + public function label() { + return $this->getFilterFormat()->label(); + } + + /** + * {@inheritdoc} + */ public function calculateDependencies() { parent::calculateDependencies(); // Create a dependency on the associated FilterFormat.