You are here

public function MediaDirectoryArgument::titleQuery in Media Directories 8

Same name and namespace in other branches
  1. 3.x src/Plugin/views/argument/MediaDirectoryArgument.php \Drupal\media_directories\Plugin\views\argument\MediaDirectoryArgument::titleQuery()
  2. 2.x src/Plugin/views/argument/MediaDirectoryArgument.php \Drupal\media_directories\Plugin\views\argument\MediaDirectoryArgument::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 MediaDirectoryArgument::titleQuery()
MediaDirectoryArgument::title in src/Plugin/views/argument/MediaDirectoryArgument.php
Get the title this argument will assign the view, given the argument.

File

src/Plugin/views/argument/MediaDirectoryArgument.php, line 101

Class

MediaDirectoryArgument
Media directory argument plugin.

Namespace

Drupal\media_directories\Plugin\views\argument

Code

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