You are here

public function views_object::set_definition in Views (for Drupal 7) 7.3

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

Let the handler know what its full definition is.

File

includes/base.inc, line 218
Definition of views_object.

Class

views_object
Provides the basic object definitions used by plugins and handlers.

Code

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