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 10.3.x for all
  5. Other projects
Title Object type File name Summary
CollectPathsToExcludeEvent::getAll function core/modules/package_manager/src/Event/CollectPathsToExcludeEvent.php
CollectPathsToExcludeEvent::scanForDirectoriesByName function core/modules/package_manager/src/Event/CollectPathsToExcludeEvent.php Finds all directories in the project root matching the given name.
CollectPathsToExcludeEvent::__construct function core/modules/package_manager/src/Event/CollectPathsToExcludeEvent.php Constructs a CollectPathsToExcludeEvent object.
CollectPathsToExcludeFailValidator class core/modules/package_manager/tests/modules/package_manager_test_validation/src/CollectPathsToExcludeFailValidator.php Allows to test an excluder which fails on CollectPathsToExcludeEvent.
CollectPathsToExcludeFailValidator.php file core/modules/package_manager/tests/modules/package_manager_test_validation/src/CollectPathsToExcludeFailValidator.php
CollectPathsToExcludeFailValidator::callToComposer function core/modules/package_manager/tests/modules/package_manager_test_validation/src/CollectPathsToExcludeFailValidator.php Fails when composer.json is deleted to simulate failure on excluders.
CollectPathsToExcludeFailValidator::getSubscribedEvents function core/modules/package_manager/tests/modules/package_manager_test_validation/src/CollectPathsToExcludeFailValidator.php
CollectPathsToExcludeFailValidator::__construct function core/modules/package_manager/tests/modules/package_manager_test_validation/src/CollectPathsToExcludeFailValidator.php Constructs a CollectPathsToExcludeFailValidator object.
CollectRelationshipMetaEvent class core/modules/jsonapi/src/Events/CollectRelationshipMetaEvent.php Event for collecting the relationship metadata of a JSON:API resource object.
CollectRelationshipMetaEvent.php file core/modules/jsonapi/src/Events/CollectRelationshipMetaEvent.php
CollectRelationshipMetaEvent::$meta property core/modules/jsonapi/src/Events/CollectRelationshipMetaEvent.php The metadata.
CollectRelationshipMetaEvent::getMeta function core/modules/jsonapi/src/Events/CollectRelationshipMetaEvent.php Gets the meta values.
CollectRelationshipMetaEvent::getRelationshipFieldName function core/modules/jsonapi/src/Events/CollectRelationshipMetaEvent.php Gets the relationship field.
CollectRelationshipMetaEvent::getResourceObject function core/modules/jsonapi/src/Events/CollectRelationshipMetaEvent.php Gets the resource object.
CollectRelationshipMetaEvent::setMetaValue function core/modules/jsonapi/src/Events/CollectRelationshipMetaEvent.php Sets a meta value.
CollectRelationshipMetaEvent::__construct function core/modules/jsonapi/src/Events/CollectRelationshipMetaEvent.php Constructs a new CollectRelationshipMetaEvent object.
CollectResourceObjectMetaEvent class core/modules/jsonapi/src/Events/CollectResourceObjectMetaEvent.php Event for collecting resource object metadata of a JSON:API resource types.
CollectResourceObjectMetaEvent.php file core/modules/jsonapi/src/Events/CollectResourceObjectMetaEvent.php
CollectResourceObjectMetaEvent::$meta property core/modules/jsonapi/src/Events/CollectResourceObjectMetaEvent.php The metadata.
CollectResourceObjectMetaEvent::getContext function core/modules/jsonapi/src/Events/CollectResourceObjectMetaEvent.php Gets context options for the normalizer.
CollectResourceObjectMetaEvent::getMeta function core/modules/jsonapi/src/Events/CollectResourceObjectMetaEvent.php Gets the meta values.
CollectResourceObjectMetaEvent::getResourceObject function core/modules/jsonapi/src/Events/CollectResourceObjectMetaEvent.php Gets the resource object.
CollectResourceObjectMetaEvent::setMetaValue function core/modules/jsonapi/src/Events/CollectResourceObjectMetaEvent.php Sets a meta value.
CollectResourceObjectMetaEvent::__construct function core/modules/jsonapi/src/Events/CollectResourceObjectMetaEvent.php Constructs a new CollectResourceObjectMetaEvent object.
CollectRoutesTest class core/modules/rest/tests/src/Unit/CollectRoutesTest.php Tests the REST export view plugin.
CollectRoutesTest.php file core/modules/rest/tests/src/Unit/CollectRoutesTest.php
CollectRoutesTest::$restExport property core/modules/rest/tests/src/Unit/CollectRoutesTest.php The REST export instance.
CollectRoutesTest::$routes property core/modules/rest/tests/src/Unit/CollectRoutesTest.php The RouteCollection.
CollectRoutesTest::setUp function core/modules/rest/tests/src/Unit/CollectRoutesTest.php
CollectRoutesTest::testRoutesRequirements function core/modules/rest/tests/src/Unit/CollectRoutesTest.php Tests if adding a requirement to a route only modify one route.
Color class core/lib/Drupal/Core/Render/Element/Color.php Provides a form element for choosing a color.
Color class core/lib/Drupal/Component/Utility/Color.php Performs color conversions.
color-picker.css file core/themes/olivero/css/components/color-picker.css Color picker styles. These appear within theme settings when selecting a custom color.
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().

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