function NumericArgument::titleQuery

Same name in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/argument/NumericArgument.php \Drupal\views\Plugin\views\argument\NumericArgument::titleQuery()
  2. 10 core/modules/views/src/Plugin/views/argument/NumericArgument.php \Drupal\views\Plugin\views\argument\NumericArgument::titleQuery()
  3. 11.x 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 92

Class

NumericArgument
Basic argument handler for arguments that are numeric.

Namespace

Drupal\views\Plugin\views\argument

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.