function ViewExecutableTest::addHandlerProvider
Same name in other branches
- 9 core/modules/views/tests/src/Unit/ViewExecutableTest.php \Drupal\Tests\views\Unit\ViewExecutableTest::addHandlerProvider()
- 10 core/modules/views/tests/src/Unit/ViewExecutableTest.php \Drupal\Tests\views\Unit\ViewExecutableTest::addHandlerProvider()
- 11.x 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 435
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',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.