You are here

public function ContactAddController::getAddFormTitle in RedHen CRM 8

Provides the page title for this controller.

Parameters

\Drupal\Core\Entity\EntityInterface $redhen_contact_type: The custom bundle/type being added.

Return value

string The page title.

File

modules/redhen_contact/src/Controller/ContactAddController.php, line 92

Class

ContactAddController
Class ContactAddController.

Namespace

Drupal\redhen_contact\Controller

Code

public function getAddFormTitle(EntityInterface $redhen_contact_type) {
  return t('Create of bundle @label', [
    '@label' => $redhen_contact_type
      ->label(),
  ]);
}