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.
Usage of PHP's create_function() function has been deprecated as of PHP 7.2. This module uses it twice in entityqueue/plugins/entityreference/behavior/EntityReferenceBehavior_EntityQueue.class.php
. It can be replaced with a real function definition.
Comment | File | Size | Author |
---|---|---|---|
#2 | remove_create_function_usage-2946598-2.patch | 1.74 KB | malaynayak |
Comments
Comment #2
malaynayak CreditAttribution: malaynayak as a volunteer and at TA Digital commentedHi @bkosborne,
Please review the patch.
Comment #4
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedCommitted to 7.x-1.x. Nice work!
Comment #5
bkosborneNote that closures were introduced in PHP 5.3, and Drupal 7 technically supports 5.2.5+. May be worth just adding
php = 5.3
to the module info file now.Comment #7
amateescu CreditAttribution: amateescu for Pfizer, Inc. commented@bkosborne, good point! I did try to check that before committing the patch on the manual page for
array_filter()
but I couldn't find it.