diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/area/Result.php b/core/modules/views/lib/Drupal/views/Plugin/views/area/Result.php index 91ad724..f1276ca 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/area/Result.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/Result.php @@ -8,9 +8,9 @@ namespace Drupal\views\Plugin\views\area; use Drupal\Component\Annotation\PluginID; -use Drupal\views\Plugin\views\style\DefaultSummary; -use Drupal\Component\Utility\Xss; use Drupal\Component\Utility\String; +use Drupal\Component\Utility\Xss; +use Drupal\views\Plugin\views\style\DefaultSummary; /** * Views area handler to display some configurable result summary. diff --git a/core/modules/views/tests/Drupal/views/Tests/Plugin/area/ResultTest.php b/core/modules/views/tests/Drupal/views/Tests/Plugin/area/ResultTest.php index 9de3a9b..531993f 100644 --- a/core/modules/views/tests/Drupal/views/Tests/Plugin/area/ResultTest.php +++ b/core/modules/views/tests/Drupal/views/Tests/Plugin/area/ResultTest.php @@ -11,11 +11,6 @@ use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\area\Result; -// @todo Remove this once the constant got converted. -if (!defined('DRUPAL_CORE_COMPATIBILITY')) { - define('DRUPAL_CORE_COMPATIBILITY', '8.x'); -} - /** * Tests the result area handler. *