class HtmlTestMarkup in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/Utility/HtmlTest.php \Drupal\Tests\Component\Utility\HtmlTestMarkup
- 9 core/tests/Drupal/Tests/Component/Utility/HtmlTest.php \Drupal\Tests\Component\Utility\HtmlTestMarkup
Marks an object's __toString() method as returning markup.
Hierarchy
- class \Drupal\Tests\Component\Utility\HtmlTestMarkup implements MarkupInterface uses MarkupTrait
Expanded class hierarchy of HtmlTestMarkup
File
- core/
tests/ Drupal/ Tests/ Component/ Utility/ HtmlTest.php, line 413
Namespace
Drupal\Tests\Component\UtilityView source
class HtmlTestMarkup implements MarkupInterface {
use MarkupTrait;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MarkupTrait:: |
protected | property | The safe string. | |
MarkupTrait:: |
public | function | ||
MarkupTrait:: |
public static | function | Creates a Markup object if necessary. | |
MarkupTrait:: |
public | function | ||
MarkupTrait:: |
public | function | Returns the string version of the Markup object. |