You are here

public function EasyEmailController::previewPageTitle in Easy Email 8

Same name and namespace in other branches
  1. 2.0.x src/Controller/EasyEmailController.php \Drupal\easy_email\Controller\EasyEmailController::previewPageTitle()
1 string reference to 'EasyEmailController::previewPageTitle'
easy_email.routing.yml in ./easy_email.routing.yml
easy_email.routing.yml

File

src/Controller/EasyEmailController.php, line 110

Class

EasyEmailController
Class EasyEmailController.

Namespace

Drupal\easy_email\Controller

Code

public function previewPageTitle(EasyEmailTypeInterface $easy_email_type) {
  return $this
    ->t('Preview: %title', [
    '%title' => $easy_email_type
      ->label(),
  ]);
}