ArgumentPluginBase::$name_field

Same name and namespace in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\ArgumentPluginBase::name_field
  2. 10 core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\ArgumentPluginBase::name_field
  3. 11.x core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\ArgumentPluginBase::name_field

The field to use for the name to display in the summary.

For example, for the node: nid argument, the argument itself is the nid, but node.title is displayed.

Type: string

File

core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php, line 76

Class

ArgumentPluginBase
Base class for argument (contextual filter) handler plugins.

Namespace

Drupal\views\Plugin\views\argument

Code

public $name_field;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.