You are here

function views_plugin_argument_default_contact_id::option_definition in CRM Core 7

Same name and namespace in other branches
  1. 8.2 modules/crm_core_user_sync/views/views_plugin_argument_default_contact_id.inc \views_plugin_argument_default_contact_id::option_definition()

Retrieve the options when this is a new access control plugin.

Overrides views_plugin_argument_default::option_definition

File

modules/crm_core_user_sync/views/views_plugin_argument_default_contact_id.inc, line 11
Contains the user from URL argument default plugin.

Class

views_plugin_argument_default_contact_id
Default argument plugin to extract a user via menu_get_object

Code

function option_definition() {
  $options = parent::option_definition();
  $options['user'] = array(
    'default' => '',
    'bool' => TRUE,
    'translatable' => FALSE,
  );
  return $options;
}