You are here

public function views_plugin_argument_validate::init in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_argument_validate.inc \views_plugin_argument_validate::init()
  2. 6.2 plugins/views_plugin_argument_validate.inc \views_plugin_argument_validate::init()

Initialize this plugin with the view and the argument it is linked to.

1 call to views_plugin_argument_validate::init()
views_plugin_argument_validate_taxonomy_term::init in modules/taxonomy/views_plugin_argument_validate_taxonomy_term.inc
Initialize this plugin with the view and the argument it is linked to.
1 method overrides views_plugin_argument_validate::init()
views_plugin_argument_validate_taxonomy_term::init in modules/taxonomy/views_plugin_argument_validate_taxonomy_term.inc
Initialize this plugin with the view and the argument it is linked to.

File

plugins/views_plugin_argument_validate.inc, line 24
Definition of views_plugin_argument_validate.

Class

views_plugin_argument_validate
Base argument validator plugin to provide basic functionality.

Code

public function init(&$view, &$argument, $options) {
  $this->view =& $view;
  $this->argument =& $argument;
  $this
    ->convert_options($options);
  $this
    ->unpack_options($this->options, $options);
}