public function WebformHtmlHelperTest::providerContainsHtml in Webform 8.5
Same name and namespace in other branches
- 6.x tests/src/Unit/Utility/WebformHtmlHelperTest.php \Drupal\Tests\webform\Unit\Utility\WebformHtmlHelperTest::providerContainsHtml()
Data provider for testContainsHtml().
See also
testContainsHtml()
File
- tests/
src/ Unit/ Utility/ WebformHtmlHelperTest.php, line 120
Class
- WebformHtmlHelperTest
- Tests webform HTML helper.
Namespace
Drupal\Tests\webform\Unit\UtilityCode
public function providerContainsHtml() {
$tests = [];
$tests[] = [
'some text',
FALSE,
];
$tests[] = [
'<b>some text</b>',
TRUE,
];
return $tests;
}