public function CasRouteEnhancerTest::enhanceDataProvider in CAS 2.x
Same name and namespace in other branches
- 8 tests/src/Unit/Routing/CasRouteEnhancerTest.php \Drupal\Tests\cas\Unit\Routing\CasRouteEnhancerTest::enhanceDataProvider()
Provides configuration values for testEnhance()
Return value
array Parameters.
See also
\Drupal\Tests\cas\Unit\Routing\CasRouteEnhancerTest::testEnhance
File
- tests/
src/ Unit/ Routing/ CasRouteEnhancerTest.php, line 115
Class
- CasRouteEnhancerTest
- CasRouteEnhancer unit tests.
Namespace
Drupal\Tests\cas\Unit\RoutingCode
public function enhanceDataProvider() {
$params = [
[
'/user/logout',
FALSE,
FALSE,
],
[
'/user/logout',
TRUE,
FALSE,
],
[
'/user/logout',
FALSE,
TRUE,
],
[
'/user/logout',
TRUE,
TRUE,
],
[
'/foobar',
TRUE,
TRUE,
],
];
return $params;
}