You are here

function page_title_content_extra_fields in Page Title 6.2

Implementation of hook_content_extra_fields().

This allows CCK to control the weight of the Page Title element as a "non-cck field"

File

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

Code

function page_title_content_extra_fields($type_name) {
  $extra = array();
  if (variable_get('page_title_type_' . $type_name . '_showfield', 0)) {
    $extra['page_title'] = array(
      'label' => t('Page Title'),
      'description' => t('Page Title form.'),
      'weight' => -4,
    );
  }
  return $extra;
}