function ViewsAccessTest::viewsPlugins
Overrides ViewsSqlTest::viewsPlugins
File
-
tests/
views_access.test, line 45
Class
- ViewsAccessTest
- Basic test for pluggable access.
Code
public function viewsPlugins() {
$plugins = array(
'access' => array(
'test_static' => array(
'title' => t('Static test access plugin'),
'help' => t('Provides a static test access plugin.'),
'handler' => 'views_test_plugin_access_test_static',
'path' => drupal_get_path('module', 'views_test') . '/test_plugins',
),
'test_dynamic' => array(
'title' => t('Dynamic test access plugin'),
'help' => t('Provides a dynamic test access plugin.'),
'handler' => 'views_test_plugin_access_test_dynamic',
'path' => drupal_get_path('module', 'views_test') . '/test_plugins',
),
),
);
return $plugins;
}