PdfDefault |
src/Plugin/Field/FieldFormatter/PdfDefault.php |
Plugin annotation
@FieldFormatter(
id = "pdf_default",
label = @Translation("PDF: Default viewer of PDF.js"),
description = @Translation("Use the default viewer like http://mozilla.github.io/pdf.js/web/viewer.html."),
field_types = {"file"}
) |
PdfPages |
src/Plugin/Field/FieldFormatter/PdfPages.php |
Plugin annotation
@FieldFormatter(
id = "pdf_pages",
label = @Translation("PDF: Continuous scroll (experimental)"),
description = @Translation("Don't use this to display big PDF file."),
field_types = {"file"}
) |
PdfThumbnail |
src/Plugin/Field/FieldFormatter/PdfThumbnail.php |
Plugin annotation
@FieldFormatter(
id = "pdf_thumbnail",
label = @Translation("PDF: Display the first page"),
description = @Translation("Display the first page of the PDF file."),
field_types = {"file"}
) |