function LinkFieldFormStatesTest::linkFieldFormStatesData
Same name in other branches
- 9 core/modules/link/tests/src/FunctionalJavascript/LinkFieldFormStatesTest.php \Drupal\Tests\link\FunctionalJavascript\LinkFieldFormStatesTest::linkFieldFormStatesData()
- 11.x core/modules/link/tests/src/FunctionalJavascript/LinkFieldFormStatesTest.php \Drupal\Tests\link\FunctionalJavascript\LinkFieldFormStatesTest::linkFieldFormStatesData()
Provides data for ::testLinkFieldJSFormStates.
File
-
core/
modules/ link/ tests/ src/ FunctionalJavascript/ LinkFieldFormStatesTest.php, line 67
Class
- LinkFieldFormStatesTest
- Tests link field form states functionality.
Namespace
Drupal\Tests\link\FunctionalJavascriptCode
public static function linkFieldFormStatesData() {
return [
'Fill uri, keep title empty' => [
'https://example.com',
'',
],
'Fill title, keep uri empty' => [
'',
'https://example.com',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.