BookExport

Provides methods for exporting book to different formats.

If you would like to add another format, swap this class in container.

Hierarchy

File

core/modules/book/src/BookExport.php, line 13

Namespace

Drupal\book

Members

Name Modifiers Type Description
BookExport::$bookManager protected property The book manager.
BookExport::$nodeStorage protected property The node storage.
BookExport::$viewBuilder protected property The node view builder.
BookExport::bookExportHtml public function Generates HTML for export when invoked by book_export().
BookExport::bookNodeExport protected function Generates printer-friendly HTML for a node.
BookExport::exportTraverse protected function Traverses the book tree to build printable or exportable output.
BookExport::__construct public function Constructs a BookExport object.
doc_Drupal
2016-10-29 08:48:04
Comments
Leave a Comment

Please login to continue.