class SafeMarkupTestMarkup
Same name in this branch
- 8.9.x core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php \Drupal\KernelTests\Core\Theme\SafeMarkupTestMarkup
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php \Drupal\KernelTests\Core\Theme\SafeMarkupTestMarkup
- 10 core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php \Drupal\KernelTests\Core\Theme\SafeMarkupTestMarkup
- 11.x core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php \Drupal\KernelTests\Core\Theme\SafeMarkupTestMarkup
Marks an object's __toString() method as returning markup.
Hierarchy
- class \Drupal\Tests\Component\Utility\SafeMarkupTestMarkup implements \Drupal\Component\Render\MarkupInterface uses \Drupal\Component\Render\MarkupTrait
Expanded class hierarchy of SafeMarkupTestMarkup
File
-
core/
tests/ Drupal/ Tests/ Component/ Utility/ SafeMarkupTest.php, line 190
Namespace
Drupal\Tests\Component\UtilityView source
class SafeMarkupTestMarkup implements MarkupInterface {
use MarkupTrait;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.