1.20.x base.inc | views_object::set_definition($definition) |
Let the handler know what its full definition is.
File
- modules/
views/ includes/ base.inc, line 176 - 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'];
}
}