public function ViewsTest::formAlteringDataProvider in Search API Autocomplete 8
Provides test data for testFormAltering().
Return value
array Array of argument arrays for testFormAltering().
See also
\Drupal\Tests\search_api_autocomplete\Kernel\ViewsTest::testFormAltering()
File
- tests/
src/ Kernel/ ViewsTest.php, line 215
Class
- ViewsTest
- Tests Views integration of the Autocomplete module.
Namespace
Drupal\Tests\search_api_autocomplete\KernelCode
public function formAlteringDataProvider() {
return [
'do alter' => [
'page',
TRUE,
],
"don't alter" => [
'page_2',
FALSE,
],
];
}