From f32465f3a4cda1cbdfb0346cf8133945da2f381e Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Mon, 23 May 2022 09:20:43 +0100 Subject: [PATCH] Issue #3270936 by Spokje, quietone, andypost, lauriii: Deprecate Color module --- core/modules/color/color.info.yml | 2 ++ .../color/tests/src/Functional/ColorConfigSchemaTest.php | 1 + .../modules/color/tests/src/Functional/ColorSafePreviewTest.php | 1 + core/modules/color/tests/src/Functional/ColorTest.php | 1 + .../src/Functional/Migrate/NoMultilingualReviewPageTest.php | 1 + .../color/tests/src/Kernel/Migrate/d7/MigrateColorTest.php | 1 + .../tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php | 1 + core/profiles/demo_umami/demo_umami.info.yml | 1 - 8 files changed, 8 insertions(+), 1 deletion(-) diff --git a/core/modules/color/color.info.yml b/core/modules/color/color.info.yml index 6096b6df03d2cef..80f65f8aee1935f 100644 --- a/core/modules/color/color.info.yml +++ b/core/modules/color/color.info.yml @@ -1,5 +1,7 @@ name: Color type: module description: 'Allows users to change the color scheme of compatible themes.' +lifecycle: deprecated +lifecycle_link: https://www.drupal.org/node/3223395#s-color package: Core version: VERSION diff --git a/core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php b/core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php index 58080c73ca9a51f..669e01c2fb98f2d 100644 --- a/core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php +++ b/core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php @@ -8,6 +8,7 @@ use Drupal\Tests\BrowserTestBase; * Ensures the color config schema is correct. * * @group color + * @group legacy */ class ColorConfigSchemaTest extends BrowserTestBase { diff --git a/core/modules/color/tests/src/Functional/ColorSafePreviewTest.php b/core/modules/color/tests/src/Functional/ColorSafePreviewTest.php index 943cafcdf78b49c..ad249bbc79708a6 100644 --- a/core/modules/color/tests/src/Functional/ColorSafePreviewTest.php +++ b/core/modules/color/tests/src/Functional/ColorSafePreviewTest.php @@ -9,6 +9,7 @@ use Drupal\Tests\BrowserTestBase; * Tests sanitizing color preview loaded from theme. * * @group color + * @group legacy */ class ColorSafePreviewTest extends BrowserTestBase { diff --git a/core/modules/color/tests/src/Functional/ColorTest.php b/core/modules/color/tests/src/Functional/ColorTest.php index 7925f5600d83571..b25cae61e32ee57 100644 --- a/core/modules/color/tests/src/Functional/ColorTest.php +++ b/core/modules/color/tests/src/Functional/ColorTest.php @@ -9,6 +9,7 @@ use Drupal\Tests\BrowserTestBase; * frontend. * * @group color + * @group legacy */ class ColorTest extends BrowserTestBase { diff --git a/core/modules/color/tests/src/Functional/Migrate/NoMultilingualReviewPageTest.php b/core/modules/color/tests/src/Functional/Migrate/NoMultilingualReviewPageTest.php index 0aa01fc41cfc69a..cb3a85de7d5844d 100644 --- a/core/modules/color/tests/src/Functional/Migrate/NoMultilingualReviewPageTest.php +++ b/core/modules/color/tests/src/Functional/Migrate/NoMultilingualReviewPageTest.php @@ -10,6 +10,7 @@ use Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase; * The test method is provided by the MigrateUpgradeTestBase class. * * @group color + * @group legacy */ class NoMultilingualReviewPageTest extends NoMultilingualReviewPageTestBase { diff --git a/core/modules/color/tests/src/Kernel/Migrate/d7/MigrateColorTest.php b/core/modules/color/tests/src/Kernel/Migrate/d7/MigrateColorTest.php index d33f2ab4340eef5..157e479658d8927 100644 --- a/core/modules/color/tests/src/Kernel/Migrate/d7/MigrateColorTest.php +++ b/core/modules/color/tests/src/Kernel/Migrate/d7/MigrateColorTest.php @@ -8,6 +8,7 @@ use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase; * Tests migration of Color variables to configuration. * * @group color + * @group legacy */ class MigrateColorTest extends MigrateDrupal7TestBase { diff --git a/core/modules/color/tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php b/core/modules/color/tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php index c442a09437a60db..80bbcc577c4603c 100644 --- a/core/modules/color/tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php +++ b/core/modules/color/tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php @@ -10,6 +10,7 @@ use Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase; * @covers \Drupal\color\Plugin\migrate\source\d7\Color * * @group color + * @group legacy */ class ColorTest extends MigrateSqlSourceTestBase { diff --git a/core/profiles/demo_umami/demo_umami.info.yml b/core/profiles/demo_umami/demo_umami.info.yml index 9e1ef7b1f89f74e..471e21d8e9be518 100644 --- a/core/profiles/demo_umami/demo_umami.info.yml +++ b/core/profiles/demo_umami/demo_umami.info.yml @@ -9,7 +9,6 @@ install: - block - breakpoint - ckeditor - - color - config - contextual - contact