Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Allows the administrator to implement the following settings concerning any wishlist in general:
- Default title of a wishlist.
- Permit a saved shipping address in a wishlist.
- Make users wishlist private by default.
- Allow users to make their wish list private.
- Show all wish lists by default.
- Allow users to add out of stock item into wish list.
- Default From address.
Implementation steps involved:
- The feature makes use of the Form API for the creation and implementation of the above functionalities. The Form function has to be refactored to the FormStateInterface function.
- The Configuration API provides a central location to store configuration details of the above components, particularly Drupal::config()→get() & Drupal::config()→set(), to store the involved variables.
- The global theme variables have to be replaced by the active theme object.
Comments
Comment #2
chiranjeeb2410 CreditAttribution: chiranjeeb2410 at Google Summer of Code commentedComment #3
chiranjeeb2410 CreditAttribution: chiranjeeb2410 at Google Summer of Code commentedComment #4
naveenvalechaComment #5
naveenvalechaClosing this as duplicate of #2889425: Porting Uc wishlist module to Drupal 8 | Phase 1
Comment #6
naveenvalecha