Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. NumericArgument.php

function 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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal