public function PreviewLinkController::title in Preview Link 8
Preview page title.
Return value
string The title of the entity.
File
- src/
Controller/ PreviewLinkController.php, line 29
Class
- PreviewLinkController
- Preview link controller to view any entity.
Namespace
Drupal\preview_link\ControllerCode
public function title() {
return $this
->resolveEntity()
->label();
}