function LinkFieldFormStatesTest::linkFieldFormStatesData
Same name in other branches
- 10 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 function linkFieldFormStatesData() {
return [
'Fill uri, keep title empty' => [
'https://drupal.org',
'',
],
'Fill title, keep uri empty' => [
'',
'https://drupal.org',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.