23 calls to Html::getClass()

BlockContentForm::form in core/modules/block_content/src/BlockContentForm.php
Gets the actual form array to be built.
BlockForm::submitForm in core/modules/block/src/BlockForm.php
This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form stateā€¦
BlockListBuilder::buildBlocksForm in core/modules/block/src/BlockListBuilder.php
Builds the main "Blocks" portion of the form.
BlockRenderOrderTest::testBlockRenderOrder in core/modules/block/tests/src/Functional/BlockRenderOrderTest.php
Tests the render order of the blocks.
BlockTest::moveBlockToRegion in core/modules/block/tests/src/Functional/BlockTest.php
Moves a block to a given region via the UI and confirms the result.
BlockTest::testBlockThemeSelector in core/modules/block/tests/src/Functional/BlockTest.php
Tests that the block form has a theme selector when not passed via the URL.
BlockUiTest::testBlockPlacementIndicator in core/modules/block/tests/src/Functional/BlockUiTest.php
Tests the block placement indicator.
claro_preprocess_input in core/themes/claro/claro.theme
Implements template_preprocess_HOOK() for input.
CommentWidget::formElement in core/modules/comment/src/Plugin/Field/FieldWidget/CommentWidget.php
Returns the form for a single field widget.
ContextualLinks::preRenderLinks in core/modules/contextual/src/Element/ContextualLinks.php
Pre-render callback: Builds a renderable array for contextual links.
DbLogController::overview in core/modules/dblog/src/Controller/DbLogController.php
Displays a listing of database log messages.
FieldConfigListBuilder::buildRow in core/modules/field_ui/src/FieldConfigListBuilder.php
Builds a row for an entity in the entity listing.
FieldUiTable::preRenderRegionRows in core/modules/field_ui/src/Element/FieldUiTable.php
Performs pre-render to move #regions to rows.
FieldUiTable::tablePreRender in core/modules/field_ui/src/Element/FieldUiTable.php
Performs pre-render tasks on field_ui_table elements.
FormBuilder::retrieveForm in core/lib/Drupal/Core/Form/FormBuilder.php
Retrieves the structured array that defines a given form.
HtmlTest::testHtmlClass in core/tests/Drupal/Tests/Component/Utility/HtmlTest.php
Tests that Html::getClass() cleans the class name properly.
InstallHelper::processTerm in core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php
Process terms for a given vocabulary and filename.
stable_preprocess_links in core/themes/stable/stable.theme
Implements template_preprocess_links().
SvgIconBuilder::buildRenderArray in core/lib/Drupal/Core/Layout/Icon/SvgIconBuilder.php
Builds a render array representation of an SVG.
template_preprocess_ckeditor_settings_toolbar in core/modules/ckeditor/ckeditor.admin.inc
Prepares variables for CKEditor settings toolbar templates.
umami_preprocess_block in core/profiles/demo_umami/themes/umami/umami.theme
Implements hook_preprocess_block().
WidgetBase::form in core/lib/Drupal/Core/Field/WidgetBase.php
Creates a form element for a field.
_claro_convert_link_to_action_link in core/themes/claro/claro.theme
Converts a link render element to an action link.

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