public function ReferenceViewController::revisionTitle in Bibliography & Citation 2.0.x
Same name and namespace in other branches
- 8 modules/bibcite_entity/src/Controller/ReferenceViewController.php \Drupal\bibcite_entity\Controller\ReferenceViewController::revisionTitle()
Page title callback for a reference revision.
Parameters
\Drupal\Core\Entity\EntityInterface $bibcite_reference_revision: The reference revision.
Return value
string The page title.
File
- modules/
bibcite_entity/ src/ Controller/ ReferenceViewController.php, line 77
Class
- ReferenceViewController
- Class ReferenceViewController.
Namespace
Drupal\bibcite_entity\ControllerCode
public function revisionTitle(EntityInterface $bibcite_reference_revision = NULL) {
return $bibcite_reference_revision
->label();
}