You are here

function panels_page_get_title in Panels 5.2

Same name and namespace in other branches
  1. 6.2 panels_page/panels_page.read.inc \panels_page_get_title()

Get the title for a panel page, given a context.

11 calls to panels_page_get_title()
panels_page_delete_confirm in panels_page/panels_page.admin.inc
Provide a form to confirm deletion of a panel page.
panels_page_edit in panels_page/panels_page.admin.inc
Edit a panel page.
panels_page_edit_advanced in panels_page/panels_page.admin.inc
Edit advanced settings of a panel page.
panels_page_edit_content in panels_page/panels_page.admin.inc
Pass through to the panels content editor.
panels_page_edit_context in panels_page/panels_page.admin.inc
Edit advanced settings of a panel page.

... See full list

File

panels_page/panels_page.module, line 461
panels_page.module

Code

function panels_page_get_title($panel_page, $context = 'page', $default_title = NULL) {
  $title = _panels_page_get_title($panel_page, $context, $default_title);
  if (!empty($panel_page->keywords)) {
    $title = strtr($title, $panel_page->keywords);
  }
  return $title;
}