function ArgumentPluginBase::summary_name in Views (for Drupal 7) 8.3
Provides the name to use for the summary. By default this is just the name field.
Parameters
$data: The query results for the row.
1 call to ArgumentPluginBase::summary_name()
- String::summary_name in lib/
Drupal/ views/ Plugin/ views/ argument/ String.php - Provides the name to use for the summary. By default this is just the name field.
8 methods override ArgumentPluginBase::summary_name()
- CreatedDay::summary_name in lib/
Views/ node/ Plugin/ views/ argument/ CreatedDay.php - Provide a link to the next level of the view
- CreatedFullDate::summary_name in lib/
Views/ node/ Plugin/ views/ argument/ CreatedFullDate.php - Provide a link to the next level of the view
- CreatedMonth::summary_name in lib/
Views/ node/ Plugin/ views/ argument/ CreatedMonth.php - Provide a link to the next level of the view
- CreatedWeek::summary_name in lib/
Views/ node/ Plugin/ views/ argument/ CreatedWeek.php - Provide a link to the next level of the view
- CreatedYearMonth::summary_name in lib/
Views/ node/ Plugin/ views/ argument/ CreatedYearMonth.php - Provide a link to the next level of the view
File
- lib/
Drupal/ views/ Plugin/ views/ argument/ ArgumentPluginBase.php, line 894 - Definition of Drupal\views\Plugin\views\argument\ArgumentPluginBase.
Class
- ArgumentPluginBase
- Base class for arguments.
Namespace
Drupal\views\Plugin\views\argumentCode
function summary_name($data) {
$value = $data->{$this->name_alias};
if (empty($value) && !empty($this->definition['empty field name'])) {
$value = $this->definition['empty field name'];
}
return check_plain($value);
}