You are here

public function views_plugin_display_page::get_argument_text in Views (for Drupal 7) 7.3

Provide some helpful text for the arguments.

The result should contain of an array with:

  • filter value present: The title of the fieldset in the argument where you can configure what should be done with a given argument.
  • filter value not present: The tiel of the fieldset in the argument where you can configure what should be done if the argument does not exist.
  • description: A description about how arguments comes to the display. For example blocks don't get it from url.

Overrides views_plugin_display::get_argument_text

File

plugins/views_plugin_display_page.inc, line 610
Definition of views_plugin_display_page.

Class

views_plugin_display_page
The plugin that handles a full page.

Code

public function get_argument_text() {
  return array(
    'filter value not present' => t('When the filter value is <em>NOT</em> in the URL'),
    'filter value present' => t('When the filter value <em>IS</em> in the URL or a default is provided'),
    'description' => t('The contextual filter values is provided by the URL.'),
  );
}