public function EntityUrlTest::providerTestLinkTemplates in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php \Drupal\Tests\Core\Entity\EntityUrlTest::providerTestLinkTemplates()
Provides test data for testLinkTemplates().
File
- core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php, line 370 - Contains \Drupal\Tests\Core\Entity\EntityUrlTest.
Class
- EntityUrlTest
- @coversDefaultClass \Drupal\Core\Entity\Entity @group Entity
Namespace
Drupal\Tests\Core\EntityCode
public function providerTestLinkTemplates() {
return array(
array(
FALSE,
array(
'canonical' => TRUE,
'bananas' => FALSE,
),
),
array(
TRUE,
array(
'canonical' => TRUE,
'bananas' => TRUE,
),
),
);
}