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 signature of the function to get a select box for terms is as
function _taxonomy_term_select($title, $name, $value, $vocabulary_id, $description, $multiple, $blank, $exclude = array()) {
however, i checked the code and it seems the 2nd parameter $name is not used anywhere in the function. is it needed ?
is it kept for future use ? if not, i think it could be removed so that it does not confuse other programmers. especially since
there's no comments for the function _taxonomy_term_select
thx.
yashesh bhatia
Comment | File | Size | Author |
---|---|---|---|
#1 | taxonomy.taxonomy_term_select.noname.patch | 640 bytes | michalto |
Comments
Comment #1
michalto CreditAttribution: michalto commentedI've removed the named parameter. It is a small thing but it was my first experience with OSS development and contribution. I hope it will be accepeted.
Comment #2
marcingy CreditAttribution: marcingy commentedFunction no longer exists in head