Created
October 25, 2014 22:47
-
-
Save wizonesolutions/92cec4c94e708faef774 to your computer and use it in GitHub Desktop.
FillPDF in Drupal 8 scratch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Defines the entity for managing uploaded FillPDF forms. | |
* | |
* @ContentEntityType( | |
* id = "fillpdf_form", | |
* label = @Translation("FillPDF form"), | |
* admin_permission = "administer pdfs", | |
* base_table = "users", | |
* data_table = "users_field_data", | |
* label_callback = "user_format_name", | |
* translatable = TRUE, | |
* entity_keys = { | |
* "id" = "uid", | |
* "uuid" = "uuid" | |
* }, | |
* links = { | |
* "canonical" = "entity.fillpdf_form.canonical", | |
* "edit-form" = "entity.fillpdf_form.edit_form", | |
* "delete-form" = "entity.fillpdf_form.cancel_form", | |
* }, | |
* ) | |
*/ | |
class FillPdfForm extends ContentEntityBase { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment