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.
In the latest dev release, as well as the alpha release, there is a comment stating: "@todo add alter hook for optionset". As I need to add a dynamically created unique ID as a "Sync" option, I needed this alter hook. So I took the liberty of creating a small patch, implementing
drupal_alter('flexslider_optionset', $optionset);
I added the code as a patch as well. The patch was made using the current stable alpha release.
Comment | File | Size | Author |
---|---|---|---|
flexslider-drupal_alter.patch | 834 bytes | Gerben Spil | |
Comments
Comment #2
minorOffense CreditAttribution: minorOffense commentedThe id is now an option in the api. Views has it now.