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