Skip to content

Commit

Permalink
Minor changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
zealfire committed Aug 7, 2015
1 parent 6755a3b commit 8ed4256
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Form/FormatConfigurationFormPdf.php
Expand Up @@ -56,7 +56,7 @@ public function getFormId() {
* {@inheritdoc}
*/
public function buildForm(array $form, FormStateInterface $form_state, $printable_format = NULL) {
$wkhtmltopdf_present = ClassLoader::classExists('mikehaertl\wkhtmlto\Pdf');
$wkhtmltopdf_present = ClassLoader::classExists('mikehaertl\wkhtmlto\Pdf');
$mpdf_present = ClassLoader::classExists('mPDF');
$tcpdf_present = ClassLoader::classExists('TCPDF');
$dompdf_present = ClassLoader::classExists('DOMPDF');
Expand Down Expand Up @@ -125,7 +125,7 @@ public function buildForm(array $form, FormStateInterface $form_state, $printabl
'Legal',
'Letter',
'Tabloid',
);
);
foreach ($paper_sizes as $sizes ) {
$form['settings']['print_pdf_paper_size']['#options'][$sizes] = $sizes;
}
Expand Down

0 comments on commit 8ed4256

Please sign in to comment.