public function ViewExecutableTest::providerExecuteReturn in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/tests/src/Unit/ViewExecutableTest.php \Drupal\Tests\views\Unit\ViewExecutableTest::providerExecuteReturn()
Provider for testExecuteReturn().
Return value
array[] An array of arrays containing the display state and expected value.
File
- core/
modules/ views/ tests/ src/ Unit/ ViewExecutableTest.php, line 706
Class
- ViewExecutableTest
- @coversDefaultClass \Drupal\views\ViewExecutable @group views
Namespace
Drupal\Tests\views\UnitCode
public function providerExecuteReturn() {
return [
'enabled' => [
static::DISPLAY_ENABLED,
TRUE,
],
'disabled' => [
static::DISPLAY_DISABLED,
FALSE,
],
];
}