protected static property ViewsHooksTest::$hooks in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Tests/ViewsHooksTest.php \Drupal\views\Tests\ViewsHooksTest::hooks
An array of available views hooks to test.
Type: array
File
- core/
modules/ views/ src/ Tests/ ViewsHooksTest.php, line 34 - Contains \Drupal\views\Tests\ViewsHooksTest.
Class
- ViewsHooksTest
- Tests that views hooks are registered when defined in $module.views.inc.
Namespace
Drupal\views\TestsCode
protected static $hooks = array(
'views_data' => 'all',
'views_data_alter' => 'alter',
'views_query_substitutions' => 'view',
'views_form_substitutions' => 'view',
'views_analyze' => 'view',
'views_pre_view' => 'view',
'views_pre_build' => 'view',
'views_post_build' => 'view',
'views_pre_execute' => 'view',
'views_post_execute' => 'view',
'views_pre_render' => 'view',
'views_post_render' => 'view',
'views_query_alter' => 'view',
'views_invalidate_cache' => 'all',
);