function LinkFormatterTest::providerLinkFormatter
Same name and namespace in other branches
- 11.x core/modules/link/tests/src/Kernel/LinkFormatterTest.php \Drupal\Tests\link\Kernel\LinkFormatterTest::providerLinkFormatter()
Data provider for ::testLinkFormatter.
File
-
core/
modules/ link/ tests/ src/ Kernel/ LinkFormatterTest.php, line 127
Class
- LinkFormatterTest
- Tests the Field Formatter for the link field type.
Namespace
Drupal\Tests\link\KernelCode
public static function providerLinkFormatter() : array {
return [
'default formatter' => [
'link',
],
'separate link text and URL' => [
'link_separate',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.