protected QueryBase::getAggregationAlias($field, $function)
Generates an alias for a field and it's aggregated function.
Parameters
string $field: The field name used in the alias.
string $function: The aggregation function used in the alias.
Return value
string The alias for the field.
File
- core/lib/Drupal/Core/Entity/Query/QueryBase.php, line 444
Class
- QueryBase
- The base entity query class.
Namespace
Drupal\Core\Entity\Query
Code
1 2 3 | protected function getAggregationAlias( $field , $function ) { return strtolower ( $field . '_' . $function ); } |
Please login to continue.