function NumericArgument::titleQuery

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/argument/NumericArgument.php \Drupal\views\Plugin\views\argument\NumericArgument::titleQuery()
  2. 8.9.x core/modules/views/src/Plugin/views/argument/NumericArgument.php \Drupal\views\Plugin\views\argument\NumericArgument::titleQuery()
  3. 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
Get the title this argument will assign the view, given the argument.
3 methods override NumericArgument::titleQuery()
EntityArgument::titleQuery in core/modules/views/src/Plugin/views/argument/EntityArgument.php
Override for specific title lookups.
EntityReferenceArgument::titleQuery in core/modules/views/src/Plugin/views/argument/EntityReferenceArgument.php
Override for specific title lookups.
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\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.