function ConfirmFormHelperTest::providerTestCancelLinkDestination

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php \Drupal\Tests\Core\Form\ConfirmFormHelperTest::providerTestCancelLinkDestination()
  2. 10 core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php \Drupal\Tests\Core\Form\ConfirmFormHelperTest::providerTestCancelLinkDestination()
  3. 9 core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php \Drupal\Tests\Core\Form\ConfirmFormHelperTest::providerTestCancelLinkDestination()
  4. 8.9.x 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

Class

ConfirmFormHelperTest
Tests Drupal\Core\Form\ConfirmFormHelper.

Namespace

Drupal\Tests\Core\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.