public static function FillPdfForm::load in FillPDF 5.0.x
Same name and namespace in other branches
- 8.4 src/Entity/FillPdfForm.php \Drupal\fillpdf\Entity\FillPdfForm::load()
Load a FillPDF Form.
Parameters
int $id: The ID of the form.
Return value
\Drupal\fillpdf\FillPdfFormInterface|null The FillPDF Form, or NULL if the ID didn't match any.
Overrides EntityBase::load
15 calls to FillPdfForm::load()
- FillPdfFormDeleteFormTest::testDeleteForm in tests/
src/ Functional/ FillPdfFormDeleteFormTest.php - Tests the cancel link works.
- FillPdfFormDeleteFormTest::testDeleteFormCancel in tests/
src/ Functional/ FillPdfFormDeleteFormTest.php - Tests the cancel link works.
- FillPdfFormFormTest::testFillPdfFileUsage in tests/
src/ Functional/ FillPdfFormFormTest.php - Tests proper registration of managed_files.
- FillPdfFormFormTest::testFormFormUpload in tests/
src/ Functional/ FillPdfFormFormTest.php - Tests the FillPdfForm entity's edit form.
- FillPdfLinkManipulator::parseLink in src/
Service/ FillPdfLinkManipulator.php - Parses a Url object.
File
- src/
Entity/ FillPdfForm.php, line 63
Class
- FillPdfForm
- Defines the entity for managing uploaded FillPDF forms.
Namespace
Drupal\fillpdf\EntityCode
public static function load($id) {
/** @var \Drupal\fillpdf\FillPdfFormInterface $fillpdf_form */
$fillpdf_form = parent::load($id);
return $fillpdf_form;
}