14 calls to Html::getClass()

BlockContentForm::form in core/modules/block_content/src/BlockContentForm.php
Gets the actual form array to be built.
BlockContentTypeTest::testsBlockContentAddTypes in core/modules/block_content/tests/src/Functional/BlockContentTypeTest.php
Tests that redirects work as expected when multiple block types exist.
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::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.
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.
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.
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.
WidgetBase::form in core/lib/Drupal/Core/Field/WidgetBase.php
Creates a form element for a field.

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