public function VisualDiffThemeNegotiatorTest::providerTestApplies in Diff 8
Provides test data to ::testApplies().
File
- tests/
src/ Unit/ VisualDiffThemeNegotiatorTest.php, line 99
Class
- VisualDiffThemeNegotiatorTest
- Tests theme negotiator.
Namespace
Drupal\Tests\diff\UnitCode
public function providerTestApplies() {
$data = [];
$data[] = [
'unexpected_filter_parameter',
NULL,
NULL,
FALSE,
];
$data[] = [
'visual_inline',
'unexpected_route_name',
NULL,
FALSE,
];
$data[] = [
'visual_inline',
'diff.revisions_diff',
'unexpected_config_value',
FALSE,
];
$data[] = [
'visual_inline',
'diff.revisions_diff',
'default',
TRUE,
];
$data[] = [
'visual_inline',
'entity.foo.revisions_diff',
'default',
TRUE,
];
return $data;
}