Form page title

Categories

Component ID

2725343

Component name

Form page title

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Summary

Allows to customize page title for pages build with drupal_get_form() as a page callback (means form as a page).

Usage

Write in your settings.php:

$conf['form_page_title_forms'] = [
  'YOUR_FORM_ID' => 'YOUR TITLE TEXT',
];

Examples:

$conf['form_page_title_forms'] = [
  'user_login' => 'Log In',
  'user_register_form' => 'Sign Up',
  'user_profile_form' => 'Account settings',
];

Related modules

There is a similar module Node add title, but with support of only node add/edit pages.

Note:
For now there is no UI, ping me if it's relevant.
Also, it's planned to add support of tokens into the configuration.


DrupalJedi Logo