function views_object::set_definition
3.x base.inc | views_object::set_definition($definition) |
2.x base.inc | views_object::set_definition($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'];
}
}