Information about options for all kinds of purposes will be held here. @code 'option_name' => array(
),
array Returns the options of this handler/plugin.
Overrides HandlerBase::defineOptions
protected function defineOptions() {
$options = parent::defineOptions();
$this->definition['field'] = !empty($this->definition['field']) ? $this->definition['field'] : '';
$label = !empty($this->definition['label']) ? $this->definition['label'] : $this->definition['field'];
$options['label'] = array(
'default' => $label,
'translatable' => TRUE,
);
$options['empty'] = array(
'default' => FALSE,
'bool' => TRUE,
);
return $options;
}