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.
I think the title says it all.
Currently it is like this:
/**
* Page callback: Generates a derivative, given a style and image path.
*
* After generating an image, transfer it to the requesting agent.
*
* @param $style
* The image style
*/
function image_style_deliver($style, $scheme) {
This does not explain what $scheme should be.
Patch coming up.
Comment | File | Size | Author |
---|---|---|---|
#5 | interdiff_2480805_1-5.txt | 519 bytes | JacobSanford |
#5 | add_missing_docblock_param-2480805-5.patch | 470 bytes | JacobSanford |
#1 | 2480805-1.patch | 462 bytes | eiriksm |
Comments
Comment #1
eiriksmComment #2
eiriksmForgot to mark as "needs review".
Comment #3
eiriksmComment #4
jhodgdonGood catch, and thanks for the patch! However, "i.e." means "that is", when what you really meant was "for example". Please write out "for example" instead of changing this to "e.g.", because there are a lot of other people out there who also don't know the difference between i.e. and e.g. and might get confused by this (better to just use English), and turn it all into one sentence.
Comment #5
JacobSanfordUpdate as requested in #4 with interdiff.
Comment #6
mark.labrecqueWhile we are working on this, would it be worth stating what variable type (ie string, array, etc) is expected by each parameter? It may not be a strict requirement, but I feel that maybe it should be. Any thoughts on this?
Comment #7
jhodgdonThe patch is fine. It would be fine to also add types to the @param lines. If you'd like to do that, upload a new patch and set back to Needs Review.
Comment #8
David_Rothstein CreditAttribution: David_Rothstein as a volunteer commentedCommitted to 7.x - thanks!