Search for %s

  1. Search 7.x for %s
  2. Search 8.9.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
Color::__construct function core/modules/color/src/Plugin/migrate/source/d7/Color.php Constructs a \Drupal\Component\Plugin\PluginBase object.
ColorConfigCacheInvalidator::$cacheTagsInvalidator property core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.php The cache tags invalidator.
ColorConfigCacheInvalidator::getSubscribedEvents function core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.php
ColorConfigCacheInvalidator::__construct function core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.php Constructs a ColorConfigCacheInvalidator object.
ColorConfigSchemaTest class core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php Ensures the color config schema is correct.
ColorConfigSchemaTest.php file core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php
ColorConfigSchemaTest::$adminUser property core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php A user with administrative permissions.
ColorConfigSchemaTest::$defaultTheme property core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php The theme to install as the default for testing.
ColorConfigSchemaTest::$modules property core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php Modules to install.
ColorConfigSchemaTest::setUp function core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php
ColorConfigSchemaTest::testValidColorConfigSchema function core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php Tests whether the color config schema is valid.
colors.css file core/modules/color/tests/modules/color_test/themes/color_test_theme/css/colors.css html {
color: #00f;
}

body {
color: #f00;
}
colors.css file core/themes/seven/css/theme/colors.css /**
* Reusable colors.
*/
.color-success {
color: #325e1c;
background-color: #f3faef;
}
.color-warning {
color: #734c00;
background-color: #fdf8ed;
}
.color-error {
color: #a51b00;
background-color: #fcf4f2;
}
colors.css file core/themes/claro/css/theme/colors.css /*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
/**
* Reusable colors.
*/
.color-success {
color: #325e1c;
background-color: #f3faef;
}
.color-warning…
colors.css file core/themes/bartik/css/colors.css /* ---------- Color Module Styles ----------- */

body {
color: #3b3b3b;
background: #292929;
}
#page,
#main-wrapper,
.region-primary-menu .menu-item a.is-active,
.region-primary-menu .menu-item--active-trail a {
background: #fff;
}
.tabs…
colors.pcss.css file core/themes/claro/css/theme/colors.pcss.css /**
* Reusable colors.
*/
.color-success {
color: #325e1c;
background-color: #f3faef;
}
.color-warning {
color: #734c00;
background-color: #fdf8ed;
}
.color-error {
color: #a51b00;
background-color: #fcf4f2;
}
ColorSafePreviewTest class core/modules/color/tests/src/Functional/ColorSafePreviewTest.php Tests sanitizing color preview loaded from theme.
ColorSafePreviewTest.php file core/modules/color/tests/src/Functional/ColorSafePreviewTest.php
ColorSafePreviewTest::$bigUser property core/modules/color/tests/src/Functional/ColorSafePreviewTest.php A user with administrative permissions.
ColorSafePreviewTest::$defaultTheme property core/modules/color/tests/src/Functional/ColorSafePreviewTest.php The theme to install as the default for testing.
ColorSafePreviewTest::$modules property core/modules/color/tests/src/Functional/ColorSafePreviewTest.php Modules to enable.
ColorSafePreviewTest::setUp function core/modules/color/tests/src/Functional/ColorSafePreviewTest.php
ColorSafePreviewTest::testColorPreview function core/modules/color/tests/src/Functional/ColorSafePreviewTest.php Ensures color preview.html is sanitized.
ColorSystemBrandingBlockAlter class core/modules/color/src/ColorSystemBrandingBlockAlter.php Provides a trusted callback to alter the system branding block.
ColorSystemBrandingBlockAlter.php file core/modules/color/src/ColorSystemBrandingBlockAlter.php
ColorSystemBrandingBlockAlter::preRender function core/modules/color/src/ColorSystemBrandingBlockAlter.php #pre_render callback: Sets color preset logo.
ColorTest class core/modules/color/tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php Tests D7 color source plugin.
ColorTest class core/modules/color/tests/src/Functional/ColorTest.php Modify theme colors and make sure the changes are reflected on the frontend.
ColorTest class core/tests/Drupal/Tests/Component/Utility/ColorTest.php Tests Color utility class conversions.
ColorTest.php file core/tests/Drupal/Tests/Component/Utility/ColorTest.php
ColorTest.php file core/modules/color/tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php
ColorTest.php file core/modules/color/tests/src/Functional/ColorTest.php
ColorTest::$bigUser property core/modules/color/tests/src/Functional/ColorTest.php A user with administrative permissions.
ColorTest::$defaultTheme property core/modules/color/tests/src/Functional/ColorTest.php The theme to install as the default for testing.
ColorTest::$modules property core/modules/color/tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php Modules to enable.
ColorTest::$modules property core/modules/color/tests/src/Functional/ColorTest.php Modules to install.
ColorTest::providerSource function core/modules/color/tests/src/Kernel/Plugin/migrate/source/d7/ColorTest.php The data provider.
ColorTest::providerTestHexToRgb function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Data provider for testHexToRgb().
ColorTest::providerTestNormalizeHexLength function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Data provider for testNormalizeHexLength().
ColorTest::providerTestRbgToHex function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Data provider for testRgbToHex().
ColorTest::providerTestValidateHex function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Provides data for testValidateHex().
ColorTest::setUp function core/modules/color/tests/src/Functional/ColorTest.php
ColorTest::testColor function core/modules/color/tests/src/Functional/ColorTest.php Tests the Color module functionality.
ColorTest::testHexToRgb function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Tests Color::hexToRgb().
ColorTest::testLogoSettingOverride function core/modules/color/tests/src/Functional/ColorTest.php Tests whether the custom logo is used in the color preview.
ColorTest::testNormalizeHexLength function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Tests Color::normalizeHexLength().
ColorTest::testOverrideAndResetScheme function core/modules/color/tests/src/Functional/ColorTest.php Tests whether the scheme can be set, viewed anonymously and reset.
ColorTest::testRgbToHex function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Tests Color::rgbToHex().
ColorTest::testValidateHex function core/tests/Drupal/Tests/Component/Utility/ColorTest.php @covers \Drupal\Component\Utility\Color::validateHex[[api-linebreak]]
ColorTest::testValidColor function core/modules/color/tests/src/Functional/ColorTest.php Tests whether the provided color is valid.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.