ViewPageControllerTest::$defaultRenderArray
Same name in other branches
- 9 core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php \Drupal\Tests\views\Unit\Routing\ViewPageControllerTest::defaultRenderArray
- 8.9.x core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php \Drupal\Tests\views\Unit\Routing\ViewPageControllerTest::defaultRenderArray
- 11.x core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php \Drupal\Tests\views\Unit\Routing\ViewPageControllerTest::defaultRenderArray
A render array expected for every page controller render array result.
Type: array
File
-
core/
modules/ views/ tests/ src/ Unit/ Routing/ ViewPageControllerTest.php, line 33
Class
- ViewPageControllerTest
- @coversDefaultClass \Drupal\views\Routing\ViewPageController @group views
Namespace
Drupal\Tests\views\Unit\RoutingCode
protected $defaultRenderArray = [
'#cache_properties' => [
'#view_id',
'#view_display_show_admin_links',
'#view_display_plugin_id',
],
'#view_id' => 'test_page_view',
'#view_display_plugin_id' => NULL,
'#view_display_show_admin_links' => NULL,
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.