1 views_handler_argument_field_list.inc | views_handler_argument_field_list::init(&$view, &$options) |
init the handler with necessary data.
Parameters
$view: The $view object this handler is attached to.
$options: The item from the database; the actual contents of this will vary based upon the type of handler.
Overrides views_handler_argument::init
File
- core/
modules/ field/ views/ views_handler_argument_field_list.inc, line 21 - Definition of views_handler_argument_field_list.
Class
- views_handler_argument_field_list
- Argument handler for list field to show the human readable name in the summary.
Code
function init(&$view, &$options) {
parent::init($view, $options);
$field = field_info_field($this->definition['field_name']);
$this->allowed_values = list_allowed_values($field);
}