public function LinkAreaTest::providerTestLinkArea in Views link area 8
Return value
array
File
- tests/
src/ Kernel/ Plugin/ LinkTest.php, line 92
Class
- LinkAreaTest
- Tests the page display plugin.
Namespace
Drupal\Tests\views_linkarea\Kernel\PluginCode
public function providerTestLinkArea() {
$data = [];
$data[] = [
[
'path' => '<front>',
'link_text' => 'SSSSSS',
],
'SSSSSS',
'/',
];
$data[] = [
[
'path' => 'route:user.pass',
'link_text' => '<b>Pass</b>',
],
'Pass',
'/user/password',
];
$data[] = [
[
'path' => 'entity:entity_test/1',
'link_text' => '<b>Pass</b>',
],
'Pass',
'/entity_test/1',
];
return $data;
}