color_help |
function |
core/modules/color/color.module |
Implements hook_help(). |
color_library_info_alter |
function |
core/modules/color/color.module |
Implements hook_library_info_alter(). |
color_palette_color_value |
function |
core/modules/color/color.module |
Determines the value for a palette color field. |
color_requirements |
function |
core/modules/color/color.install |
Implements hook_requirements(). |
color_scheme_form |
function |
core/modules/color/color.module |
Form constructor for the color configuration form for a particular theme. |
color_scheme_form_submit |
function |
core/modules/color/color.module |
Form submission handler for color_scheme_form(). |
color_scheme_form_validate |
function |
core/modules/color/color.module |
Form validation handler for color_scheme_form(). |
color_test.info.yml |
file |
core/modules/color/tests/modules/color_test/color_test.info.yml |
core/modules/color/tests/modules/color_test/color_test.info.yml |
color_test_theme.info.yml |
file |
core/modules/color/tests/modules/color_test/themes/color_test_theme/color_test_theme.info.yml |
core/modules/color/tests/modules/color_test/themes/color_test_theme/color_test_theme.info.yml |
color_test_theme.libraries.yml |
file |
core/modules/color/tests/modules/color_test/themes/color_test_theme/color_test_theme.libraries.yml |
core/modules/color/tests/modules/color_test/themes/color_test_theme/color_test_theme.libraries.yml |
color_test_theme.schema.yml |
file |
core/modules/color/tests/modules/color_test/themes/color_test_theme/config/schema/color_test_theme.schema.yml |
core/modules/color/tests/modules/color_test/themes/color_test_theme/config/schema/color_test_theme.schema.yml |
color_theme |
function |
core/modules/color/color.module |
Implements hook_theme(). |
color_valid_hexadecimal_string |
function |
core/modules/color/color.module |
Determines if a hexadecimal CSS color string is valid. |
d7_color.yml |
file |
core/modules/color/migrations/d7_color.yml |
core/modules/color/migrations/d7_color.yml |
FormTest::testColorValidation |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests validation of #type 'color' elements. |
FormTestColorForm |
class |
core/modules/system/tests/modules/form_test/src/Form/FormTestColorForm.php |
Form constructor for testing #type 'color' elements. |
FormTestColorForm.php |
file |
core/modules/system/tests/modules/form_test/src/Form/FormTestColorForm.php |
|
FormTestColorForm::buildForm |
function |
core/modules/system/tests/modules/form_test/src/Form/FormTestColorForm.php |
Form constructor. |
FormTestColorForm::getFormId |
function |
core/modules/system/tests/modules/form_test/src/Form/FormTestColorForm.php |
Returns a unique string identifying the form. |
FormTestColorForm::submitForm |
function |
core/modules/system/tests/modules/form_test/src/Form/FormTestColorForm.php |
Form submission handler. |
GDToolkit::getTransparentColor |
function |
core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php |
Gets the color set for transparency in GIF images. |
MigrateColorTest |
class |
core/modules/color/tests/src/Kernel/Migrate/d7/MigrateColorTest.php |
Tests migration of Color variables to configuration. |
MigrateColorTest.php |
file |
core/modules/color/tests/src/Kernel/Migrate/d7/MigrateColorTest.php |
|
MigrateColorTest::$modules |
property |
core/modules/color/tests/src/Kernel/Migrate/d7/MigrateColorTest.php |
Modules to enable. |
MigrateColorTest::getFixtureFilePath |
function |
core/modules/color/tests/src/Kernel/Migrate/d7/MigrateColorTest.php |
Gets the path to the fixture file. |
MigrateColorTest::setUp |
function |
core/modules/color/tests/src/Kernel/Migrate/d7/MigrateColorTest.php |
|
MigrateColorTest::testMigrateColor |
function |
core/modules/color/tests/src/Kernel/Migrate/d7/MigrateColorTest.php |
Tests migration of color's variables to configuration. |
ShapeOnlyColorEditableWidget |
class |
core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldWidget/ShapeOnlyColorEditableWidget.php |
Plugin implementation of the 'shape_only_color_editable_widget' widget. |
ShapeOnlyColorEditableWidget.php |
file |
core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldWidget/ShapeOnlyColorEditableWidget.php |
|
ShapeOnlyColorEditableWidget::formElement |
function |
core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldWidget/ShapeOnlyColorEditableWidget.php |
Returns the form for a single field widget. |
template_preprocess_color_scheme_form |
function |
core/modules/color/color.module |
Prepares variables for color scheme form templates. |
TestEntityFormInjected::$color |
property |
core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php |
The color of the entity type. |
ToolkitGdTest::assertColorsAreEqual |
function |
core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php |
Assert two colors are equal by RGBA, net of full transparency. |
ToolkitGdTest::getPixelColor |
function |
core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php |
Function for finding a pixel's RGBa values. |
_color_blend |
function |
core/modules/color/color.module |
Blends two hex colors and returns the GD color. |
_color_gd |
function |
core/modules/color/color.module |
Converts a hex triplet into a GD color. |
_color_hsl2rgb |
function |
core/modules/color/color.module |
Converts an HSL triplet into RGB. |
_color_hue2rgb |
function |
core/modules/color/color.module |
Helper function for _color_hsl2rgb(). |
_color_pack |
function |
core/modules/color/color.module |
Converts an RGB triplet to a hex color. |
_color_render_images |
function |
core/modules/color/color.module |
Renders images that match a given palette. |
_color_rewrite_stylesheet |
function |
core/modules/color/color.module |
Rewrites the stylesheet to match the colors in the palette. |
_color_rgb2hsl |
function |
core/modules/color/color.module |
Converts an RGB triplet to HSL. |
_color_save_stylesheet |
function |
core/modules/color/color.module |
Saves the rewritten stylesheet to disk. |
_color_shift |
function |
core/modules/color/color.module |
Shifts a given color, using a reference pair and a target blend color. |
_color_unpack |
function |
core/modules/color/color.module |
Converts a hex color into an RGB triplet. |