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.
The document comment for Image::scaleDimensions()
contains the following lines.
/*
* @return bool
* TRUE if $dimensions was modified, FALSE otherwise.
*
* @see image_scale()
*/
image_scale()
is a Drupal 7 function that neither Drupal 8 nor Drupal 9 implements. The reference to that function should be removed, and the last lines of the document comment should be the following lines.
/*
* @return bool
* TRUE if $dimensions was modified, FALSE otherwise.
*/
Comment | File | Size | Author |
---|---|---|---|
#2 | drupal-remove-function-reference-3166645-2.patch | 567 bytes | apaderno |
Comments
Comment #2
apadernoComment #3
longwaveComment #8
larowlanCommitted e8ef145 and pushed to 9.1.x. Thanks!
As this is a bug, and the risk of disruption is approaching zero, backported to 9.0.x and 8.9.x