function views_plugin_display::get_access_plugin in Views (for Drupal 7) 6.2
Get the access plugin
5 calls to views_plugin_display::get_access_plugin()
- views_plugin_display::access in plugins/
views_plugin_display.inc - Determine if the user has access to this display of the view.
- views_plugin_display::options_form in plugins/
views_plugin_display.inc - Provide the default form for setting options.
- views_plugin_display::options_summary in plugins/
views_plugin_display.inc - Provide the default summary for options in the views UI.
- views_plugin_display::options_validate in plugins/
views_plugin_display.inc - Validate the options form.
- views_plugin_display_page::execute_hook_menu in plugins/
views_plugin_display_page.inc - Add this display's path information to Drupal's menu system.
File
- plugins/
views_plugin_display.inc, line 519 - Contains the base display plugin.
Class
- views_plugin_display
- The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.
Code
function get_access_plugin($name = NULL) {
if (!$name) {
$access = $this
->get_option('access');
$name = $access['type'];
}
$plugin = views_get_plugin('access', $name);
if ($plugin) {
$plugin
->init($this->view, $this->display);
return $plugin;
}
}