public function NodeorderConfigSchemaTest::configDataProvider in Node Order 8
File
- tests/
src/ Kernel/ NodeorderConfigSchemaTest.php, line 70
Class
- NodeorderConfigSchemaTest
- Tests the nodeorder config schema.
Namespace
Drupal\Tests\nodeorder\KernelCode
public function configDataProvider() {
return [
[
[
'vocabularies' => [],
'override_taxonomy_page' => TRUE,
'show_links_on_node' => TRUE,
'link_to_ordering_page' => TRUE,
'link_to_ordering_page_taxonomy_admin' => TRUE,
],
TRUE,
],
[
[
'vocabularies' => new \stdClass(),
'override_taxonomy_page' => [],
'show_links_on_node' => 1,
'link_to_ordering_page' => 0,
'link_to_ordering_page_taxonomy_admin' => $this
->randomString(),
],
FALSE,
],
];
}