Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. 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 class core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.php A subscriber invalidating cache tags when color config objects are saved.
ColorConfigCacheInvalidator.php file core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.php
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::onChange function core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.php Invalidate cache tags when a color theme config object changes.
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.
ColorLegacyTest class core/modules/color/tests/src/Kernel/ColorLegacyTest.php Tests Color module's legacy code.
ColorLegacyTest.php file core/modules/color/tests/src/Kernel/ColorLegacyTest.php
ColorLegacyTest::$modules property core/modules/color/tests/src/Kernel/ColorLegacyTest.php Modules to enable.
ColorLegacyTest::setUp function core/modules/color/tests/src/Kernel/ColorLegacyTest.php
ColorLegacyTest::testColorSystemBrandingBlockAlterPreRender function core/modules/color/tests/src/Kernel/ColorLegacyTest.php Tests color_block_view_pre_render() deprecation.
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/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.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/2815083
* @preserve
*/
/**
* Reusable colors.
*/
.color-success {
color: #325e1c;
background-color: #f3faef;
}
.color-warning…
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.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 the Bartik 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::$colorTests property core/modules/color/tests/src/Functional/ColorTest.php Associative array of hex color strings to test.
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::$themes property core/modules/color/tests/src/Functional/ColorTest.php An associative array of settings for themes.
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().

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