Set form page title

It's very easy to set the page title for your form. In your buildForm() or form alter function, set the #title property to whatever you want.

$form['#title'] = 'New page title';

 

Tags
Form API