public function MysqlDate::__construct in Views Custom Table 9.0.x
Same name in this branch
- 9.0.x src/Plugin/views/filter/MysqlDate.php \Drupal\view_custom_table\Plugin\views\filter\MysqlDate::__construct()
- 9.0.x src/Plugin/views/field/MysqlDate.php \Drupal\view_custom_table\Plugin\views\field\MysqlDate::__construct()
Same name and namespace in other branches
- 8 src/Plugin/views/filter/MysqlDate.php \Drupal\view_custom_table\Plugin\views\filter\MysqlDate::__construct()
WebformSubmissionFieldFilter constructor.
Overrides HandlerBase::__construct
File
- src/
Plugin/ views/ filter/ MysqlDate.php, line 51
Class
- MysqlDate
- Filter to handle dates stored as a datetime.
Namespace
Drupal\view_custom_table\Plugin\views\filterCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, TimeInterface $time, DateFormatterInterface $date_formatter) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->time = $time;
$this->dateFormatter = $date_formatter;
}