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 function drush_rows_of_key_value_to_array_table()
has a parameter $metadata
. One of the keys, 'field-mappings'
, is not documented. It is passed to drush_lookup_field_by_path()
as its $mapping
parameter, which is also not documented.
I will start working on a patch as soon as I create this issue. Or maybe after dinner.
Comment | File | Size | Author |
---|---|---|---|
#1 | drush-docs-2047209-1.patch | 2.9 KB | benjifisher |
Comments
Comment #1
benjifisherThe attached patch adds to the two documentation blocks as indicated in the issue summary.
The patch also updates the doc block for
drush_rows_of_key_value_to_array_table()
:)
.I am not sure how to test, but I hope this will make the API page for this function easier to read.
Comment #2
moshe weitzman CreditAttribution: moshe weitzman commentedCommitted. Thanks.
Comment #3.0
(not verified) CreditAttribution: commentedMore accurate description.