diff --git a/core/modules/filter/lib/Drupal/filter/FilterFormatInterface.php b/core/modules/filter/lib/Drupal/filter/FilterFormatInterface.php
index 6b598cc..17b6d8d 100644
--- a/core/modules/filter/lib/Drupal/filter/FilterFormatInterface.php
+++ b/core/modules/filter/lib/Drupal/filter/FilterFormatInterface.php
@@ -37,6 +37,8 @@ public function filters($instance_id = NULL);
    * @param array $configuration
    *   The filter plugin configuration to set.
    */
+
+
   public function setFilterConfig($instance_id, array $configuration);
 
   /**
@@ -49,4 +51,14 @@ public function setFilterConfig($instance_id, array $configuration);
    */
   public function isFallbackFormat();
 
+
+  /**
+   * Returns the unique label of a text format
+   * 
+   * @return string
+   *   The text format label
+   */
+  
+  public function getFormat();
+
 }
diff --git a/core/modules/filter/lib/Drupal/filter/Plugin/Core/Entity/FilterFormat.php b/core/modules/filter/lib/Drupal/filter/Plugin/Core/Entity/FilterFormat.php
index a853bb6..b8d6245 100644
--- a/core/modules/filter/lib/Drupal/filter/Plugin/Core/Entity/FilterFormat.php
+++ b/core/modules/filter/lib/Drupal/filter/Plugin/Core/Entity/FilterFormat.php
@@ -50,6 +50,7 @@ class FilterFormat extends ConfigEntityBase implements FilterFormatInterface {
    * @var string
    */
   public $format;
+  
 
   /**
    * Unique label of the text format.
@@ -135,6 +136,13 @@ class FilterFormat extends ConfigEntityBase implements FilterFormatInterface {
   public function id() {
     return $this->format;
   }
+  
+  /**
+   * {@inheritdoc}
+   */
+  public function getFormat() {
+    return $this->get('format');
+  }
 
   /**
    * {@inheritdoc}
