Entity Print

Module Drupal Illustration Voir sur Drupal.org
Nb téléchargements : 28078

Components

  • Code
  • Documentation
  • Miscellaneous
  • User interface

Documentation

Licence

https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

permet d'imprimer n'importe quelle entité et de la rendre en PDF

Release

Status : Published
Projects : Modules
Maintenance status : Actively maintained
Development status : Under active development
Project categories : Content display
Project categories : Content editing experience
Supported Branches : 8.x-2.
shield Stable releases for this project are covered by the security advisory policy.


Description

Entity Print allows you to print any Drupal entity or View to PDF.

The module is lightweight compared to other modules like the Print module, has full test coverage and is ready to be used in production for Drupal 10 and 11.

Documentation

Drupal 10 / Drupal 11 Quick Start

  1. Ensure you have composer installed and are using the drupal.org packagist.
    curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
    composer config repositories.drupal composer https://packages.drupal.org/8
  2. Run composer require "drupal/entity_print 2.x" in the site docroot

For entities:

  1. Position the "View PDF" field on "Manage Display" to place a link to the PDF version of the entity.
  2. Visit an entity with the field enabled and click the "View PDF" link
  3. Set the appropriate permissions to allow various roles to access the printed entity

For views:

  1. Add the "Global: Print" plugin to the header or footer of the view
  2. Set the appropriate permissions to allow various roles to access the printed view

More in depth docs for Drupal 10 / Drupal 11


More in depth docs for Drupal 7 (reached its end-of-life (EOL))

Drupal 8-x-2.x (Recommended branch)

The 2.x branch in Drupal 8 has generic support for PDF, EPub, Word documents and more. It is currently under active development. We welcome testers and issue reports. More information on PDF engine support.



Toutes les informations proviennent du site drupal.org