public function OrgAddController::getAddFormTitle in RedHen CRM 8
Provides the page title for this controller.
Parameters
\Drupal\Core\Entity\EntityInterface $redhen_org_type: The custom bundle/type being added.
Return value
string The page title.
File
- modules/
redhen_org/ src/ Controller/ OrgAddController.php, line 91
Class
- OrgAddController
- Class OrgAddController.
Namespace
Drupal\redhen_org\ControllerCode
public function getAddFormTitle(EntityInterface $redhen_org_type) {
return t('Create of bundle @label', [
'@label' => $redhen_org_type
->label(),
]);
}