You are here

function views_object::set_definition in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 includes/base.inc \views_object::set_definition()
  2. 7.3 includes/base.inc \views_object::set_definition()

Let the handler know what its full definition is.

File

includes/base.inc, line 107
Provides the basic object definitions used by plugins and handlers.

Class

views_object
Basic definition for many views objects

Code

function set_definition($definition) {
  $this->definition = $definition;
  if (isset($definition['field'])) {
    $this->real_field = $definition['field'];
  }
}