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 ArgumentPluginBase::defineOptions
protected function defineOptions() {
$options = parent::defineOptions();
if (!empty($this->definition['numeric'])) {
$options['break_phrase'] = array(
'default' => FALSE,
'bool' => TRUE,
);
}
$options['add_table'] = array(
'default' => FALSE,
'bool' => TRUE,
);
$options['require_value'] = array(
'default' => FALSE,
'bool' => TRUE,
);
if (isset($this->helper)) {
$this->helper
->defineOptions($options);
}
else {
$helper = new ManyToOneHelper($this);
$helper
->defineOptions($options);
}
return $options;
}