function scheduler_api_test_scheduler_commerce_product_publishing_allowed in Scheduler 2.x
Implements hook_scheduler_commerce_product_publishing_allowed().
File
- tests/
modules/ scheduler_api_test/ scheduler_api_test.module, line 240 - Hook implementations of the Scheduler API Test module.
Code
function scheduler_api_test_scheduler_commerce_product_publishing_allowed(ProductInterface $product) {
// Use the generic publishing_allowed helper function.
return _api_publishing_allowed($product);
}