core/modules/filter/src/Entity/FilterFormat.php | 2 -- .../tests/filter_test_plugin/src/Plugin/Filter/FilterTestStatic.php | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/core/modules/filter/src/Entity/FilterFormat.php b/core/modules/filter/src/Entity/FilterFormat.php index 3f01d7a..7419a15 100644 --- a/core/modules/filter/src/Entity/FilterFormat.php +++ b/core/modules/filter/src/Entity/FilterFormat.php @@ -180,8 +180,6 @@ public function toArray() { * {@inheritdoc} */ public function disable() { - // The fallback text format cannot be disabled, as we always have to be able - // to run it, in case a different format is disabled. if ($this->isFallbackFormat()) { throw new \LogicException("The fallback text format '{$this->id()}' cannot be disabled."); } diff --git a/core/modules/filter/tests/filter_test_plugin/src/Plugin/Filter/FilterTestStatic.php b/core/modules/filter/tests/filter_test_plugin/src/Plugin/Filter/FilterTestStatic.php index 0119642..72dce95 100644 --- a/core/modules/filter/tests/filter_test_plugin/src/Plugin/Filter/FilterTestStatic.php +++ b/core/modules/filter/tests/filter_test_plugin/src/Plugin/Filter/FilterTestStatic.php @@ -11,8 +11,7 @@ use Drupal\filter\Plugin\FilterBase; /** - * Provides a filter that returns the same static text, regardless of what input - * text he receives. + * Provides a filter that returns the same static text. * * @Filter( * id = "filter_static_text",