function lineage_handler_field::option_definition in Taxonomy Lineage 7
Make views aware of new options
Overrides views_handler_field::option_definition
File
- handlers/
lineage_handler_field.inc, line 16 - Views field plugin for lineage's field handler.
Class
- lineage_handler_field
- Field handler for Taxonomy: Hierarchy.
Code
function option_definition() {
$options = parent::option_definition();
$options['lineage'] = array();
$options['lineage']['strip_weights'] = array(
'default' => FALSE,
);
$options['lineage']['machine_safe'] = array(
'default' => FALSE,
);
$options['lineage']['prefix'] = array(
'default' => '',
);
$options['lineage']['suffix'] = array(
'default' => '',
);
$options['lineage']['delimiter'] = array(
'default' => '',
);
return $options;
}