protected function ViewsDateFormatSqlField::defineOptions in Views Date Format SQL 8.3
Information about options for all kinds of purposes will be held here.
'option_name' => array(
- 'default' => default value,
- 'contains' => (optional) array of items this contains, with its own
defaults, etc. If contains is set, the default will be ignored and
assumed to be array().
),
Return value
array Returns the options of this handler/plugin.
Overrides EntityField::defineOptions
File
- src/
Plugin/ views/ field/ ViewsDateFormatSqlField.php, line 28
Class
- ViewsDateFormatSqlField
- A field that displays entity timestamp field data. Supports grouping.
Namespace
Drupal\views_date_format_sql\Plugin\views\fieldCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['format_date_sql'] = array(
'default' => FALSE,
);
return $options;
}