function NumericArgument::titleQuery

Same name and namespace in other branches
  1. 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 method overrides NumericArgument::titleQuery()
Fid::titleQuery in core/modules/file/src/Plugin/views/argument/Fid.php
Override the behavior of titleQuery(). Get the filenames.

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.