function NumericArgument::titleQuery
Same name in other branches
- 9 core/modules/views/src/Plugin/views/argument/NumericArgument.php \Drupal\views\Plugin\views\argument\NumericArgument::titleQuery()
- 8.9.x core/modules/views/src/Plugin/views/argument/NumericArgument.php \Drupal\views\Plugin\views\argument\NumericArgument::titleQuery()
- 10 core/modules/views/src/Plugin/views/argument/NumericArgument.php \Drupal\views\Plugin\views\argument\NumericArgument::titleQuery()
Override for specific title lookups.
Return value
array Returns all titles, if it's just one title it's an array with one entry.
1 call to NumericArgument::titleQuery()
- NumericArgument::title in core/
modules/ views/ src/ Plugin/ views/ argument/ NumericArgument.php
3 methods override NumericArgument::titleQuery()
- EntityArgument::titleQuery in core/
modules/ views/ src/ Plugin/ views/ argument/ EntityArgument.php - EntityReferenceArgument::titleQuery in core/
modules/ views/ src/ Plugin/ views/ argument/ EntityReferenceArgument.php - Vid::titleQuery in core/
modules/ node/ src/ Plugin/ views/ argument/ Vid.php - Override the behavior of title(). Get the title of the revision.
File
-
core/
modules/ views/ src/ Plugin/ views/ argument/ NumericArgument.php, line 88
Class
- NumericArgument
- Basic argument handler for arguments that are numeric.
Namespace
Drupal\views\Plugin\views\argumentCode
public function titleQuery() {
return $this->value;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.