Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
color-picker.pcss.css file core/themes/olivero/css/components/color-picker.pcss.css Color picker styles. These appear within theme settings when selecting a custom color.
Color.php file core/lib/Drupal/Component/Utility/Color.php
Color.php file core/lib/Drupal/Core/Render/Element/Color.php
Color::getInfo function core/lib/Drupal/Core/Render/Element/Color.php Returns the element properties for this element.
Color::hexToRgb function core/lib/Drupal/Component/Utility/Color.php Parses a hexadecimal color string like '#abc' or '#aabbcc'.
Color::normalizeHexLength function core/lib/Drupal/Component/Utility/Color.php Normalize the hex color length to 6 characters for comparison.
Color::preRenderColor function core/lib/Drupal/Core/Render/Element/Color.php Prepares a #type 'color' render element for input.html.twig.
Color::rgbToHex function core/lib/Drupal/Component/Utility/Color.php Converts RGB color arrays or strings to lowercase CSS notation.
Color::validateColor function core/lib/Drupal/Core/Render/Element/Color.php Form element validation handler for #type 'color'.
Color::validateHex function core/lib/Drupal/Component/Utility/Color.php Validates whether a hexadecimal color value is syntactically correct.
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.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;
}
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::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::testHexToRgb function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Tests Color::hexToRgb().
ColorTest::testNormalizeHexLength function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Tests Color::normalizeHexLength().
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]]
Com class core/lib/Drupal/Component/Uuid/Com.php Generates a UUID using the Windows internal GUID extension.
Com.php file core/lib/Drupal/Component/Uuid/Com.php
Com::generate function core/lib/Drupal/Component/Uuid/Com.php Generates a Universally Unique IDentifier (UUID).
Combine class core/modules/views/src/Plugin/views/filter/Combine.php Filter handler which allows to search on multiple fields.
Combine.php file core/modules/views/src/Plugin/views/filter/Combine.php
Combine::$query property core/modules/views/src/Plugin/views/filter/Combine.php
Combine::buildOptionsForm function core/modules/views/src/Plugin/views/filter/Combine.php Provide the basic form which calls through to subforms.
Combine::defineOptions function core/modules/views/src/Plugin/views/filter/Combine.php Information about options for all kinds of purposes will be held here.
Combine::opContains function core/modules/views/src/Plugin/views/filter/Combine.php
Combine::opContainsWord function core/modules/views/src/Plugin/views/filter/Combine.php Filters by one or more words.
Combine::opEmpty function core/modules/views/src/Plugin/views/filter/Combine.php
Combine::opEndsWith function core/modules/views/src/Plugin/views/filter/Combine.php
Combine::opEqual function core/modules/views/src/Plugin/views/filter/Combine.php Adds a where clause for the operation, 'equals'.
Combine::opNotEndsWith function core/modules/views/src/Plugin/views/filter/Combine.php
Combine::opNotLike function core/modules/views/src/Plugin/views/filter/Combine.php
Combine::opNotStartsWith function core/modules/views/src/Plugin/views/filter/Combine.php
Combine::opRegex function core/modules/views/src/Plugin/views/filter/Combine.php Filters by a regular expression.
Combine::opStartsWith function core/modules/views/src/Plugin/views/filter/Combine.php
Combine::query function core/modules/views/src/Plugin/views/filter/Combine.php Add this filter to the query.
Combine::validate function core/modules/views/src/Plugin/views/filter/Combine.php Validate that the plugin is correct and can be saved.
CommandInterface interface core/lib/Drupal/Core/Ajax/CommandInterface.php AJAX command interface.
CommandInterface.php file core/lib/Drupal/Core/Ajax/CommandInterface.php
CommandInterface::render function core/lib/Drupal/Core/Ajax/CommandInterface.php Return an array to be run through json_encode and sent to the client.
CommandLineOrUnsafeMethod class core/lib/Drupal/Core/PageCache/RequestPolicy/CommandLineOrUnsafeMethod.php Reject when running from the command line or when HTTP method is not safe.
CommandLineOrUnsafeMethod.php file core/lib/Drupal/Core/PageCache/RequestPolicy/CommandLineOrUnsafeMethod.php
CommandLineOrUnsafeMethod::check function core/lib/Drupal/Core/PageCache/RequestPolicy/CommandLineOrUnsafeMethod.php Determines whether delivery of a cached page should be attempted.
CommandLineOrUnsafeMethod::isCli function core/lib/Drupal/Core/PageCache/RequestPolicy/CommandLineOrUnsafeMethod.php Indicates whether this is a CLI request.
CommandLineOrUnsafeMethodTest class core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php @coversDefaultClass \Drupal\Core\PageCache\RequestPolicy\CommandLineOrUnsafeMethod[[api-linebreak]]
@group PageCache

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