You are here

public function DependencyRemovalTest::searchPluginDependencyDataProvider in Search API Autocomplete 8

Provides test data sets for testSearchPluginDependency().

Return value

array[] An array of argument arrays for testSearchPluginDependency().

See also

\Drupal\Tests\search_api_autocomplete\Kernel\DependencyRemovalTest::testSearchPluginDependency()

File

tests/src/Kernel/DependencyRemovalTest.php, line 187

Class

DependencyRemovalTest
Tests dependency handling of the search entity.

Namespace

Drupal\Tests\search_api_autocomplete\Kernel

Code

public function searchPluginDependencyDataProvider() {
  return [
    'soft dependency' => [
      TRUE,
    ],
    'hard dependency' => [
      FALSE,
    ],
  ];
}