public function EntityLegalController::documentVersionAddFormTitle in Entity Legal 8.2
Same name and namespace in other branches
- 4.0.x src/Controller/EntityLegalController.php \Drupal\entity_legal\Controller\EntityLegalController::documentVersionAddFormTitle()
- 3.0.x src/Controller/EntityLegalController.php \Drupal\entity_legal\Controller\EntityLegalController::documentVersionAddFormTitle()
Page title callback for the Entity Legal Document Version add form.
Parameters
\Drupal\entity_legal\EntityLegalDocumentInterface $entity_legal_document: The entity legal document.
Return value
string The page title.
1 string reference to 'EntityLegalController::documentVersionAddFormTitle'
File
- src/
Controller/ EntityLegalController.php, line 141
Class
- EntityLegalController
- Class EntityLegalController.
Namespace
Drupal\entity_legal\ControllerCode
public function documentVersionAddFormTitle(EntityLegalDocumentInterface $entity_legal_document) {
return $this
->t('Add %type legal document version', [
'%type' => $entity_legal_document
->label(),
]);
}