You are here

function views_plugin_argument_validate_php::option_definition in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 7.3 plugins/views_plugin_argument_validate_php.inc \views_plugin_argument_validate_php::option_definition()

Retrieve the options when this is a new access control plugin

Overrides views_plugin_argument_validate::option_definition

File

plugins/views_plugin_argument_validate_php.inc, line 13
Contains the php code argument validator plugin.

Class

views_plugin_argument_validate_php
Provide PHP code to validate whether or not an argument is ok.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['code'] = array(
    'default' => '',
  );
  return $options;
}