You are here

public function Type::summaryName in Support Ticketing System 8

Override the behavior of summaryName(). Get the user friendly version of the support ticket type.

Overrides StringArgument::summaryName

File

modules/support_ticket/src/Plugin/views/argument/Type.php, line 64
Contains \Drupal\support_ticket\Plugin\views\argument\Type.

Class

Type
Argument handler to accept a support ticket type.

Namespace

Drupal\support_ticket\Plugin\views\argument

Code

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