Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
hook_install_tasks() has $install_state parameter as well as install_tasks().
hook_install_tasks() has $install_state parameter as well as install_tasks().
Comments
Comment #1
Chi CreditAttribution: Chi commentedComment #2
jhodgdonThat is true, thanks for reporting this issue! This "hook" [it's not really a hook in the normal sense -- it's only for profiles] is called from
http://api.drupal.org/api/drupal/core--includes--install.core.inc/functi...
and it definitely passes in $install_state when it does:
However, I'm not happy about the documentation line that is added. The hook that is being documented here just lists the tasks. Saying "This is passed along to each task, so it can be modified if necessary." doesn't make sense here, I think?
Comment #3
cweagansUpdating tags per http://drupal.org/node/1517250
Comment #4
Albert Volkman CreditAttribution: Albert Volkman commentedI agree.
Comment #5
jhodgdonLooks good, thanks!
Comment #6
webchickWe need the datatype here, if I'm not mistaken.
Comment #7
Albert Volkman CreditAttribution: Albert Volkman commentedDatatype'd.
Comment #8
jhodgdonComment #9
jhodgdonThanks! Committed to 8.x and 7.x.