rules_invoke_all('commerce_shipping_collect_rates', $order);

rules_invoke_all() does a module_invoke_all() as I learned recently. Therefore, this should be documented in the api.php file.

Comments

joachim’s picture

Title: undocumented hook_commerce_shipping_collect_rates() » undocumented hook_commerce_shipping_collect_rates(), hook_commerce_shipping_method_collect_rates(0

Also hook_commerce_shipping_method_collect_rates().

joachim’s picture

Status: Active » Needs review
StatusFileSize
new1.27 KB
rszrama’s picture

Title: undocumented hook_commerce_shipping_collect_rates(), hook_commerce_shipping_method_collect_rates(0 » Add missing hook documentation to commerce_shipping.api.php
Category: bug » task
Status: Needs review » Fixed

We were also missing hook_commerce_shipping_calculate_rate(). I fleshed 'em out and committed. May be some extra info in there to tide you over until I get the big picture developer overview published.

Commit: http://drupalcode.org/project/commerce_shipping.git/commitdiff/dd77b58

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.