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 documentation for hook_feeds_processor_targets()
is a bit of a mess. It would be better if all the possible values for a target is documented in @return
of the function docblock. See for example how hook_entity_info()
and hook_entity_property_info()
are documented.
Patch will follow.
Comment | File | Size | Author |
---|---|---|---|
#2 | feeds-hook-processor-targets-doc-2638722-2.patch | 8.68 KB | MegaChriz |
|
Comments
Comment #2
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedIn the patch I also let
my_module_form_callback()
andmy_module_summary_callback
change places, so the form callback comes first. I think this is more logical as in the core field UI, "manage fields" is mentioned earlier than "manage display".Comment #3
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedCommitted #2.