You are here

public function EntityLegalController::documentVersionEditFormTitle in Entity Legal 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Controller/EntityLegalController.php \Drupal\entity_legal\Controller\EntityLegalController::documentVersionEditFormTitle()
  2. 4.0.x src/Controller/EntityLegalController.php \Drupal\entity_legal\Controller\EntityLegalController::documentVersionEditFormTitle()

Page title callback for the Entity Legal Document Version edit form.

Parameters

\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'
entity_legal.routing.yml in ./entity_legal.routing.yml
entity_legal.routing.yml

File

src/Controller/EntityLegalController.php, line 154

Class

EntityLegalController
Class EntityLegalController.

Namespace

Drupal\entity_legal\Controller

Code

public function documentVersionEditFormTitle(EntityLegalDocumentVersionInterface $entity_legal_document_version) {
  return $this
    ->t('Edit %label', [
    '%label' => $entity_legal_document_version
      ->label(),
  ]);
}