You are here

public function EntityUrlTest::providerTestToUrlForInvalidLinkTemplate in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php \Drupal\Tests\Core\Entity\EntityUrlTest::providerTestToUrlForInvalidLinkTemplate()

Provides test data for testUrlInfoForInvalidLinkTemplate().

File

core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php, line 167
Contains \Drupal\Tests\Core\Entity\EntityUrlTest.

Class

EntityUrlTest
@coversDefaultClass \Drupal\Core\Entity\Entity @group Entity

Namespace

Drupal\Tests\Core\Entity

Code

public function providerTestToUrlForInvalidLinkTemplate() {
  return array(
    array(
      'Drupal\\Core\\Entity\\Entity',
      'canonical',
    ),
    array(
      'Drupal\\Core\\Entity\\Entity',
      FALSE,
    ),
    array(
      'Drupal\\Core\\Config\\Entity\\ConfigEntityBase',
      'canonical',
    ),
  );
}