public function FieldMapping::__construct in FillPDF 5.0.x
Same name and namespace in other branches
- 8.4 src/FieldMapping.php \Drupal\fillpdf\FieldMapping::__construct()
Constructs a FieldMapping object.
Parameters
string $data: String containing the data.
2 calls to FieldMapping::__construct()
- ImageFieldMapping::__construct in src/
FieldMapping/ ImageFieldMapping.php - Constructs an ImageFieldMapping object.
- TextFieldMapping::__construct in src/
FieldMapping/ TextFieldMapping.php - Constructs an TextFieldMapping object.
2 methods override FieldMapping::__construct()
- ImageFieldMapping::__construct in src/
FieldMapping/ ImageFieldMapping.php - Constructs an ImageFieldMapping object.
- TextFieldMapping::__construct in src/
FieldMapping/ TextFieldMapping.php - Constructs an TextFieldMapping object.
File
- src/
FieldMapping.php, line 30
Class
- FieldMapping
- Represents a mapping between a PDF field and a merge value.
Namespace
Drupal\fillpdfCode
public function __construct($data) {
$this->data = $data;
}