function views_object::set_definition

Same name in other branches
  1. 6.x-3.x includes/base.inc \views_object::set_definition()

Let the handler know what its full definition is.

File

includes/base.inc, line 220

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'];
    }
}