public function StatusAddController::getAddFormTitle in Heartbeat 8
Provides the page title for this controller.
Parameters
EntityInterface $status_type: The custom bundle/type being added.
Return value
string The page title.
File
- modules/
statusmessage/ src/ Controller/ StatusAddController.php, line 90
Class
- StatusAddController
- Class StatusAddController.
Namespace
Drupal\statusmessage\ControllerCode
public function getAddFormTitle(EntityInterface $status_type) {
return t('Create of bundle @label', array(
'@label' => $status_type
->label(),
));
}