public function FacetSourcePluginManagerTest::invalidDefinitions in Facets 8
Provides invalid definitions.
Return value
array An invalid data provider.
File
- tests/
src/ Unit/ FacetSource/ FacetSourcePluginManagerTest.php, line 130
Class
- FacetSourcePluginManagerTest
- Unit test for plugin manager.
Namespace
Drupal\Tests\facets\Unit\FacetSourceCode
public function invalidDefinitions() {
return [
'only id' => [
'id' => 'owl',
],
'only display_id' => [
'display_id' => 'search_api:owl',
],
'only label' => [
'label' => 'Owl',
],
'no label' => [
'id' => 'owl',
'display_id' => 'Owl',
],
];
}