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.
* @return
* The flag count with the entity type and id as array keys.
*/
function flag_get_counts($entity_type, $entity_id) {
WRONG.
It's keyed by the flag names.
Comment | File | Size | Author |
---|---|---|---|
#1 | flag-fix_@return_docs_for_flag_get_counts()-2208677-1.patch | 459 bytes | cs_shadow |
Comments
Comment #1
cs_shadow CreditAttribution: cs_shadow commentedFixed the documentation.
Comment #2
joachim CreditAttribution: joachim commentedThanks for the patch!
(BTW, characters like @ and () are best avoided in filenames...)
Comment #3
cs_shadow CreditAttribution: cs_shadow commented@joachim, thanks for the advice, will keep that in mind while naming my patches from now on.
By the way, you think we can commit this?
Comment #4
joachim CreditAttribution: joachim commentedOoops, looks like I forgot to git push!