You are here

public function NumericArgument::titleQuery in Drupal 9

Same name and namespace in other branches
  1. 8 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
Get the title this argument will assign the view, given the argument.
6 methods override NumericArgument::titleQuery()
Fid::titleQuery in core/modules/file/src/Plugin/views/argument/Fid.php
Override the behavior of titleQuery(). Get the filenames.
Fid::titleQuery in core/modules/aggregator/src/Plugin/views/argument/Fid.php
Override for specific title lookups.
Iid::titleQuery in core/modules/aggregator/src/Plugin/views/argument/Iid.php
Override for specific title lookups.
Nid::titleQuery in core/modules/node/src/Plugin/views/argument/Nid.php
Override the behavior of title(). Get the title of the node.
Uid::titleQuery in core/modules/user/src/Plugin/views/argument/Uid.php
Override the behavior of title(). Get the name of the user.

... See full list

File

core/modules/views/src/Plugin/views/argument/NumericArgument.php, line 91

Class

NumericArgument
Basic argument handler for arguments that are numeric. Incorporates break_phrase.

Namespace

Drupal\views\Plugin\views\argument

Code

public function titleQuery() {
  return $this->value;
}