function Type::summaryName

Same name and namespace in other branches
  1. 9 core/modules/node/src/Plugin/views/argument/Type.php \Drupal\node\Plugin\views\argument\Type::summaryName()
  2. 8.9.x core/modules/node/src/Plugin/views/argument/Type.php \Drupal\node\Plugin\views\argument\Type::summaryName()
  3. 11.x core/modules/node/src/Plugin/views/argument/Type.php \Drupal\node\Plugin\views\argument\Type::summaryName()

Overrides StringArgument::summaryName

File

core/modules/node/src/Plugin/views/argument/Type.php, line 59

Class

Type
Argument handler to accept a node type.

Namespace

Drupal\node\Plugin\views\argument

Code

public function summaryName($data) {
    return $this->node_type($data->{$this->name_alias});
}

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