public function ContactStorageController::contactFormTitle in Contact Storage 8
Route title callback.
Parameters
\Drupal\contact\ContactFormInterface $contact_form: The contact form.
Return value
string The title of the contact form.
File
- src/
Controller/ ContactStorageController.php, line 57
Class
- ContactStorageController
- Controller routines for contact storage routes.
Namespace
Drupal\contact_storage\ControllerCode
public function contactFormTitle(ContactFormInterface $contact_form) {
return $contact_form
->label();
}