public function ParseBooleanFlagsTest::buildQuery in FillPDF 5.0.x
Same name and namespace in other branches
- 8.4 tests/src/Unit/LinkManipulator/ParseBooleanFlagsTest.php \Drupal\Tests\fillpdf\Unit\LinkManipulator\ParseBooleanFlagsTest::buildQuery()
Input helper for testBooleanFlags().
1 call to ParseBooleanFlagsTest::buildQuery()
- ParseBooleanFlagsTest::testBooleanFlags in tests/
src/ Unit/ LinkManipulator/ ParseBooleanFlagsTest.php - Tests &sample=, &download= and &flatten= query parameters.
File
- tests/
src/ Unit/ LinkManipulator/ ParseBooleanFlagsTest.php, line 35
Class
- ParseBooleanFlagsTest
- @coversDefaultClass \Drupal\fillpdf\Service\FillPdfLinkManipulator
Namespace
Drupal\Tests\fillpdf\Unit\LinkManipulatorCode
public function buildQuery($input) {
return [
'fid' => 1,
'entity_type' => 'node',
'entity_id' => 1,
'sample' => $input,
'download' => $input,
'flatten' => $input,
];
}