Search for icon

  1. Search 7.x for icon
  2. Search 9.5.x for icon
  3. Search 8.9.x for icon
  4. Search 11.x for icon
  5. Other projects
Title Object type File name Summary
AddFeedTest::testFeedIconEscaping function core/modules/system/tests/src/Kernel/Common/AddFeedTest.php Checks that special characters are correctly escaped.
comment.icon.theme.css file core/modules/comment/css/comment.icon.theme.css /*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
.field-icon-comment {
color: red;
background-image: url("data:image/svg+xml,%3csvg…
comment.icon.theme.pcss.css file core/modules/comment/css/comment.icon.theme.pcss.css .field-icon-comment {
color: red;
background-image: url(../../../misc/icons/55565b/comment.svg);
}
contextual.icons.theme.css file core/modules/contextual/css/contextual.icons.theme.css Styling for contextual module icons.
contextual.icons.theme.css file core/themes/stable9/css/contextual/contextual.icons.theme.css Styling for contextual module icons.
contextual.icons.theme.pcss.css file core/modules/contextual/css/contextual.icons.theme.pcss.css Styling for contextual module icons.
Drupal\Core\Layout\Icon\IconBuilderInterface service core/modules/layout_discovery/layout_discovery.services.yml
feed-icon.html.twig file core/themes/olivero/templates/misc/feed-icon.html.twig Theme override for a feed icon.
feed-icon.html.twig file core/themes/stable9/templates/media-library/feed-icon.html.twig Theme override for a feed icon.
feed-icon.html.twig file core/modules/system/templates/feed-icon.html.twig Default theme implementation for a feed icon.
field_ui.icons.theme.css file core/modules/field_ui/css/field_ui.icons.theme.css /*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
/* cspell:ignore cacbd */
.field-option__icon {
position: relative;
height: 100%;
background-image:…
field_ui.icons.theme.pcss.css file core/modules/field_ui/css/field_ui.icons.theme.pcss.css /* cspell:ignore cacbd */
.field-option__icon {
position: relative;
height: 100%;
background-image: url(../../../misc/icons/cacbd2/puzzle_piece_placeholder.svg);
background-repeat: no-repeat;
background-position: center;
background-size:…
file.icon.theme.css file core/modules/file/css/file.icon.theme.css /*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
.field-icon-file_upload {
background-image: url("data:image/svg+xml,%3csvg height='36'…
file.icon.theme.pcss.css file core/modules/file/css/file.icon.theme.pcss.css .field-icon-file_upload {
background-image: url(../../../misc/icons/55565b/file_upload.svg);
}
file_icon_class function core/modules/file/file.module Gets a class for the icon for a MIME type.
file_icon_map function core/modules/file/file.module Determines the generic icon MIME package based on a file's MIME type.
forum-icon.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/dataset/forum-icon.html.twig Theme override to display a status icon for a forum post.
forum-icon.html.twig file core/themes/claro/templates/classy/dataset/forum-icon.html.twig Theme override to display a status icon for a forum post.
forum-icon.html.twig file core/modules/forum/templates/forum-icon.html.twig Default theme implementation to display a status icon for a forum post.
forum-icon.html.twig file core/themes/stable9/templates/dataset/forum-icon.html.twig Theme override to display a status icon for a forum post.
icon-link.css file core/themes/claro/css/components/icon-link.css Icon link component.
icon-link.pcss.css file core/themes/claro/css/components/icon-link.pcss.css Icon link component.
IconBuilderInterface interface core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php Provides an interface for building layout icons.
IconBuilderInterface.php file core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php
IconBuilderInterface::build function core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php Builds a render array representation of an SVG based on an icon map.
IconBuilderInterface::setHeight function core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php Sets the height.
IconBuilderInterface::setId function core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php Sets the ID.
IconBuilderInterface::setLabel function core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php Sets the label.
IconBuilderInterface::setPadding function core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php Sets the padding.
IconBuilderInterface::setStrokeWidth function core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php Sets the stroke width.
IconBuilderInterface::setWidth function core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php Sets the width.
IconBuilderTest class core/tests/Drupal/KernelTests/Core/Layout/IconBuilderTest.php @coversDefaultClass \Drupal\Core\Layout\Icon\SvgIconBuilder
@group Layout
IconBuilderTest.php file core/tests/Drupal/KernelTests/Core/Layout/IconBuilderTest.php
IconBuilderTest::providerTestBuild function core/tests/Drupal/KernelTests/Core/Layout/IconBuilderTest.php
IconBuilderTest::testBuild function core/tests/Drupal/KernelTests/Core/Layout/IconBuilderTest.php @covers ::build
@covers ::buildRenderArray
@covers ::calculateSvgValues
@covers ::getLength
@covers ::getOffset
IconMimeTypes class core/modules/file/src/IconMimeTypes.php A utility class for working with MIME types.
IconMimeTypes.php file core/modules/file/src/IconMimeTypes.php
IconMimeTypes::getGenericMimeType function core/modules/file/src/IconMimeTypes.php Determines the generic icon MIME package based on a file's MIME type.
IconMimeTypes::getIconClass function core/modules/file/src/IconMimeTypes.php Gets a class for the icon for a MIME type.
icons.css file core/profiles/demo_umami/themes/umami/css/classy/components/icons.css Visual styles for icons.
icons.css file core/themes/claro/css/classy/components/icons.css Visual styles for icons.
icons.css file core/themes/starterkit_theme/css/components/icons.css Visual styles for icons.
layout.icon_builder service core/modules/layout_discovery/layout_discovery.services.yml Drupal\Core\Layout\Icon\SvgIconBuilder
Layout::$icon property core/lib/Drupal/Core/Layout/Annotation/Layout.php The path to the preview image (relative to the 'path' given).
Layout::$icon_map property core/lib/Drupal/Core/Layout/Annotation/Layout.php The icon map.
LayoutDefinition::$icon property core/lib/Drupal/Core/Layout/LayoutDefinition.php The path to the preview image.
LayoutDefinition::$icon_map property core/lib/Drupal/Core/Layout/LayoutDefinition.php
LayoutDefinition::getIcon function core/lib/Drupal/Core/Layout/LayoutDefinition.php Builds a render array for an icon representing the layout.
LayoutDefinition::getIconBuilder function core/lib/Drupal/Core/Layout/LayoutDefinition.php Wraps the icon builder.
LayoutDefinition::getIconMap function core/lib/Drupal/Core/Layout/LayoutDefinition.php Gets the icon map for this layout definition.

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