public function QueryPluginBase::getDateField in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/query/QueryPluginBase.php \Drupal\views\Plugin\views\query\QueryPluginBase::getDateField()
Returns a Unix timestamp to database native timestamp expression.
Parameters
string $field: The query field that will be used in the expression.
Return value
string An expression representing a timestamp with time zone.
1 method overrides QueryPluginBase::getDateField()
- Sql::getDateField in core/
modules/ views/ src/ Plugin/ views/ query/ Sql.php - Returns a Unix timestamp to database native timestamp expression.
File
- core/
modules/ views/ src/ Plugin/ views/ query/ QueryPluginBase.php, line 218 - Contains \Drupal\views\Plugin\views\query\QueryPluginBase.
Class
- QueryPluginBase
- Base plugin class for Views queries.
Namespace
Drupal\views\Plugin\views\queryCode
public function getDateField($field) {
return $field;
}