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.
Slick Carousel module needs to be converted to use short array syntax as per new coding standard.
Comment | File | Size | Author |
---|---|---|---|
#3 | slick_array_search_results.png | 47.54 KB | dhruveshdtripathi |
#2 | short_array_syntax-2873222-2.patch | 2.68 KB | Munavijayalakshmi |
Comments
Comment #2
Munavijayalakshmi CreditAttribution: Munavijayalakshmi at Valuebound commentedComment #3
dhruveshdtripathi CreditAttribution: dhruveshdtripathi at DevsAdda commentedPatch applied cleanly. All the arrays from the module are converted to short array syntax. After applying the patch, the module works as it was working earlier. As you can see in the attached image file, "array(" terms are reduced from 9 to 5. Those 5 terms are "in_array(" or "is_array("
Good work
Comment #5
gausarts CreditAttribution: gausarts commentedCommitted. Thank you for contribution.