Search for html
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Html | class | core/ |
Provides a render element for an entire HTML page: <html> plus its children. |
| Html | class | core/ |
Provides DOMDocument helpers for parsing and serializing HTML strings. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| Html.php | file | core/ |
|
| Html::$classes | property | core/ |
An array of previously cleaned HTML classes. |
| Html::$isAjax | property | core/ |
Stores whether the current request was sent via AJAX. |
| Html::$seenIds | property | core/ |
An array of IDs, including incremented versions when an ID is duplicated. |
| Html::$seenIdsInit | property | core/ |
An array of the initial IDs used in one request. |
| Html::$uriAttributes | property | core/ |
All attributes that may contain URIs. |
| Html::cleanCssIdentifier | function | core/ |
Prepares a string for use as a CSS identifier (element, class, or ID name). |
| Html::decodeEntities | function | core/ |
Decodes all HTML entities including numerical ones to regular UTF-8 bytes. |
| Html::escape | function | core/ |
Escapes text by converting special characters to HTML entities. |
| Html::escapeCdataElement | function | core/ |
Adds comments around a <!CDATA section in a \DOMNode. |
| Html::getClass | function | core/ |
Prepares a string for use as a valid class name. |
| Html::getId | function | core/ |
Prepares a string for use as a valid HTML ID. |
| Html::getInfo | function | core/ |
Returns the element properties for this element. |
| Html::getUniqueId | function | core/ |
Prepares a string for use as a valid HTML ID and guarantees uniqueness. |
| Html::load | function | core/ |
Parses an HTML snippet and returns it as a DOM object. |
| Html::normalize | function | core/ |
Normalizes an HTML snippet. |
| Html::resetSeenIds | function | core/ |
Resets the list of seen IDs. |
| Html::serialize | function | core/ |
Converts the body of a \DOMDocument back to an HTML snippet. |
| Html::setIsAjax | function | core/ |
Sets if this request is an Ajax request. |
| Html::transformRootRelativeUrlsToAbsolute | function | core/ |
Converts all root-relative URLs to absolute URLs. |
| HtmlAttributesTest | class | core/ |
Tests attributes inserted in the 'html' and 'body' elements on the page. |
| HtmlAttributesTest.php | file | core/ |
|
| HtmlAttributesTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| HtmlAttributesTest::$modules | property | core/ |
Modules to install. |
| HtmlAttributesTest::testThemeHtmlAttributes | function | core/ |
Tests that attributes in the 'html' and 'body' elements can be altered. |
| HtmlCommand | class | core/ |
AJAX command for calling the jQuery html() method. |
| HtmlCommand.php | file | core/ |
|
| HtmlCommand::render | function | core/ |
Implements Drupal\Core\Ajax\CommandInterface:render(). |
| HtmlEntityFormController | class | core/ |
Wrapping controller for entity forms that serve as the main page body. |
| HtmlEntityFormController.php | file | core/ |
|
| HtmlEntityFormController::$entityTypeManager | property | core/ |
The entity type manager service. |
| HtmlEntityFormController::getFormArgument | function | core/ |
Extracts the form argument string from a request. |
| HtmlEntityFormController::getFormObject | function | core/ |
Instead of a class name or service ID, $form_arg will be a string representing the entity and operation being performed. Consider the following route: |
| HtmlEntityFormController::__construct | function | core/ |
Constructs a new \Drupal\Core\Routing\Enhancer\FormEnhancer object. |
| HtmlEscapedText | class | core/ |
Escapes HTML syntax characters to HTML entities for display in markup. |
| HtmlEscapedText.php | file | core/ |
|
| HtmlEscapedText::$string | property | core/ |
The string to escape. |
| HtmlEscapedText::count | function | core/ |
|
| HtmlEscapedText::jsonSerialize | function | core/ |
|
| HtmlEscapedText::__construct | function | core/ |
Constructs an HtmlEscapedText object. |
| HtmlEscapedText::__toString | function | core/ |
Returns markup. |
| HtmlEscapedTextTest | class | core/ |
Tests the HtmlEscapedText class. |
| HtmlEscapedTextTest.php | file | core/ |
|
| HtmlEscapedTextTest::providerToString | function | core/ |
Data provider for testToString(). |
| HtmlEscapedTextTest::testCount | function | core/ |
@legacy-covers ::count |
| HtmlEscapedTextTest::testToString | function | core/ |
@legacy-covers ::__toString @legacy-covers ::jsonSerialize |
| HtmlFormController | class | core/ |
Wrapping controller for forms that serve as the main page body. |
| HtmlFormController.php | file | core/ |
|
| HtmlFormController::$classResolver | property | core/ |
The class resolver. |
| HtmlFormController::getFormArgument | function | core/ |
Extracts the form argument string from a request. |
Pagination
- Previous page
- Page 14
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.