You are here

public function ConfirmFormHelperTest::providerTestCancelLinkDestination in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 125
Contains \Drupal\Tests\Core\Form\ConfirmFormHelperTest.

Class

ConfirmFormHelperTest
@coversDefaultClass \Drupal\Core\Form\ConfirmFormHelper @group Form

Namespace

Drupal\Tests\Core\Form

Code

public function providerTestCancelLinkDestination() {
  $data = [];
  $data[] = [
    'baz',
  ];
  $data[] = [
    '/baz',
  ];
  return $data;
}