public function Date::getDateField in Zircon Profile 8
Same name in this branch
- 8 core/modules/datetime/src/Plugin/views/sort/Date.php \Drupal\datetime\Plugin\views\sort\Date::getDateField()
- 8 core/modules/datetime/src/Plugin/views/argument/Date.php \Drupal\datetime\Plugin\views\Argument\Date::getDateField()
Same name and namespace in other branches
- 8.0 core/modules/datetime/src/Plugin/views/argument/Date.php \Drupal\datetime\Plugin\views\Argument\Date::getDateField()
Creates cross-database SQL dates.
Return value
string An appropriate SQL string for the db type and field type.
Overrides HandlerBase::getDateField
1 call to Date::getDateField()
- Date::getDateFormat in core/
modules/ datetime/ src/ Plugin/ views/ argument/ Date.php - Creates cross-database SQL date formatting.
File
- core/
modules/ datetime/ src/ Plugin/ views/ argument/ Date.php, line 33 - Contains \Drupal\datetime\Plugin\views\Argument\Date.
Class
- Date
- Abstract argument handler for dates.
Namespace
Drupal\datetime\Plugin\views\ArgumentCode
public function getDateField() {
// Return the real field, since it is already in string format.
return "{$this->tableAlias}.{$this->realField}";
}