function TagTest::providerViewsUiAutocompleteIndividualTags
Same name in other branches
- 8.9.x core/modules/views_ui/tests/src/Kernel/TagTest.php \Drupal\Tests\views_ui\Kernel\TagTest::providerViewsUiAutocompleteIndividualTags()
- 10 core/modules/views_ui/tests/src/Kernel/TagTest.php \Drupal\Tests\views_ui\Kernel\TagTest::providerViewsUiAutocompleteIndividualTags()
- 11.x core/modules/views_ui/tests/src/Kernel/TagTest.php \Drupal\Tests\views_ui\Kernel\TagTest::providerViewsUiAutocompleteIndividualTags()
Data provider for testViewsUiAutocompleteIndividualTags().
Return value
array[] The data set.
File
-
core/
modules/ views_ui/ tests/ src/ Kernel/ TagTest.php, line 94
Class
- TagTest
- Tests the views ui tagging functionality.
Namespace
Drupal\Tests\views_ui\KernelCode
public function providerViewsUiAutocompleteIndividualTags() {
return [
'tag' => [
'comma',
'comma',
],
'case insensitive tag' => [
'comma',
'COMMA',
],
'Hello in Chinese (partial 1)' => [
'你好',
'你',
],
'Hello in Chinese (partial 2)' => [
'你好',
'好',
],
'Hello in Chinese' => [
'你好',
'你好',
],
'Starts with partial and case-sensitive' => [
'Foo bar',
'Foo',
],
'Starts with partial and case-insensitive' => [
'Foo bar',
'fOO',
],
'Ends with partial and case-sensitive' => [
'Foo bar',
'bar',
],
'Ends with partial and case-insensitive' => [
'Foo bar',
'BAR',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.