You are here

function domain_views_plugin_access::option_definition in Domain Access 6.2

File

domain_views/includes/domain_views_plugin_access.inc, line 25
Domain Views plugin that restricts View display based on the current domain. This plugin respects hook_domaingrants().

Class

domain_views_plugin_access
@file Domain Views plugin that restricts View display based on the current domain. This plugin respects hook_domaingrants().

Code

function option_definition() {
  $options = parent::option_definition();
  $options['domains'] = array(
    'default' => array(
      -1 => -1,
    ),
  );
  $options['domain_strict'] = array(
    'default' => FALSE,
  );
  $options['domain_member'] = array(
    'default' => FALSE,
  );
  return $options;
}