You are here

protected function LinkitAutocompleteTest::noResults in Linkit 8.5

Returns the "no results" suggestion.

@todo Should this use some kind of t() function?

Return value

array An array with a fixed value of no results.

File

tests/src/Kernel/LinkitAutocompleteTest.php, line 264

Class

LinkitAutocompleteTest
Tests the linkit autocomplete functionality.

Namespace

Drupal\Tests\linkit\Kernel

Code

protected function noResults() {
  return [
    'title' => 'No results',
  ];
}