Overview of demoextendsymfonyform1 functionality
masterThe demoextendsymfonyform1 module demonstrates how to extend Symfony-based pages in PrestaShop by inserting custom inputs into forms.
Specifically, it adds a boolean "is allowed to review" (yes/no) field to the Customer entity. This field is integrated into:
- The Customers listing as a new column.
- The Customers Add/Edit form as a new manageable field.
Key technical demonstrations include:
- Using identifiable object and grid hooks to modify Symfony pages.
- Managing field content and properties using modern hooks.
- Using the Translator component within a modern Symfony-based module.
- Persisting data using an ObjectModel entity (Note: for DoctrineORM demonstrations, see
demoextendsymfonyform2).