public function ViewExecutableTest::addHandlerProvider in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/tests/src/Unit/ViewExecutableTest.php \Drupal\Tests\views\Unit\ViewExecutableTest::addHandlerProvider()
Data provider for testAddHandlerWithEntityField and testAddHandler.
Return value
array[] Test data set.
File
- core/
modules/ views/ tests/ src/ Unit/ ViewExecutableTest.php, line 445
Class
- ViewExecutableTest
- @coversDefaultClass \Drupal\views\ViewExecutable @group views
Namespace
Drupal\Tests\views\UnitCode
public function addHandlerProvider() {
return [
'field' => [
'fields',
'field',
],
'filter' => [
'filters',
'filter',
],
'argument' => [
'arguments',
'argument',
],
'sort' => [
'sorts',
'sort',
],
];
}