You are here

function _page_title_build_views_keys in Page Title 6.2

Internal function for generating a key for a given view and display. Argument Page Title settings are not stored as variables. TODO: Should probably clean these up before making the key (so the return value is [a-z0-9\-])

File

./page_title.module, line 650
Enhanced control over the page title (in the head tag).

Code

function _page_title_build_views_keys($view_name, $display_id) {
  return 'page_title-' . implode('-', array_filter(array(
    $view_name,
    $display_id,
  )));
}