public function ConfirmFormHelperTest::providerTestCancelLinkDestination in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php \Drupal\Tests\Core\Form\ConfirmFormHelperTest::providerTestCancelLinkDestination()
Provides test data for testCancelLinkDestination().
File
- core/
tests/ Drupal/ Tests/ Core/ Form/ ConfirmFormHelperTest.php, line 120
Class
- ConfirmFormHelperTest
- @coversDefaultClass \Drupal\Core\Form\ConfirmFormHelper @group Form
Namespace
Drupal\Tests\Core\FormCode
public function providerTestCancelLinkDestination() {
$data = [];
$data[] = [
'baz',
];
$data[] = [
'/baz',
];
return $data;
}