public function ArgumentPluginBase::summaryName in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\ArgumentPluginBase::summaryName()
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::summaryName()
- StringArgument::summaryName in core/
modules/ views/ src/ Plugin/ views/ argument/ StringArgument.php - Provides the name to use for the summary. By default this is just the name field.
8 methods override ArgumentPluginBase::summaryName()
- DayDate::summaryName in core/
modules/ views/ src/ Plugin/ views/ argument/ DayDate.php - Provide a link to the next level of the view
- FullDate::summaryName in core/
modules/ views/ src/ Plugin/ views/ argument/ FullDate.php - Provide a link to the next level of the view
- LanguageArgument::summaryName in core/
modules/ views/ src/ Plugin/ views/ argument/ LanguageArgument.php - Overrides \Drupal\views\Plugin\views\argument\ArgumentPluginBase::summaryName().
- MonthDate::summaryName in core/
modules/ views/ src/ Plugin/ views/ argument/ MonthDate.php - Provide a link to the next level of the view
- NumberListField::summaryName in core/
modules/ options/ src/ Plugin/ views/ argument/ NumberListField.php - Provides the name to use for the summary. By default this is just the name field.
File
- core/
modules/ views/ src/ Plugin/ views/ argument/ ArgumentPluginBase.php, line 945 - Contains \Drupal\views\Plugin\views\argument\ArgumentPluginBase.
Class
- ArgumentPluginBase
- Base class for argument (contextual filter) handler plugins.
Namespace
Drupal\views\Plugin\views\argumentCode
public function summaryName($data) {
$value = $data->{$this->name_alias};
if (empty($value) && !empty($this->definition['empty field name'])) {
$value = $this->definition['empty field name'];
}
return $value;
}