function HtmxAttributesTest::boostStringDataProvider
Provides data to self::testHxBoost.
Return value
array{bool|string, string}[] First parameter is a boolean or string, second parameter is a string.
File
-
core/
tests/ Drupal/ Tests/ Core/ Htmx/ HtmxAttributesTest.php, line 219
Class
- HtmxAttributesTest
- Test all attribute-related Htmx public methods.
Namespace
Drupal\Tests\Core\HtmxCode
public static function boostStringDataProvider() : array {
return [
[
TRUE,
'true',
],
[
FALSE,
'false',
],
[
'swap:outerSync select:#main target:#main',
'swap:outerSync select:#main target:#main',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.