You are here

function panels_term_title in Panels 5.2

Same name and namespace in other branches
  1. 6.2 arguments/term.inc \panels_term_title()

Determine the title for substitution with this context

1 string reference to 'panels_term_title'
panels_term_panels_arguments in arguments/term.inc
@file arguments/term.inc

File

arguments/term.inc, line 203
arguments/term.inc

Code

function panels_term_title($context) {
  if (isset($context->data->name)) {
    return $context->data->name;
  }
  if (isset($context->page_title)) {
    return $context->page_title;
  }
}