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