You are here

function patterns_forms_add_page_header in Patterns 7

Same name and namespace in other branches
  1. 7.2 includes/forms/forms.inc \patterns_forms_add_page_header()
8 calls to patterns_forms_add_page_header()
patterns_config_settings in includes/config.inc
Display the pattern settings form. @TODO proper doc.
patterns_export_page1 in patterns_export/patterns_export.module
patterns_import_file in includes/forms/import.inc
Display the import pattern file form
patterns_import_source in includes/forms/import.inc
Form constructor for the Pattern import form.
patterns_import_url in includes/forms/import.inc
Display the import pattern url form

... See full list

File

includes/forms/forms.inc, line 15

Code

function patterns_forms_add_page_header(&$form, $title, $text = '') {
  $form['header'] = array(
    '#markup' => t($text),
    '#prefix' => '<div id="intro_export"><strong>' . t($title) . ': </strong>',
    '#suffix' => '<hr><br/></div>',
  );
}