acquia_commercemanager-8.x-1.122/modules/acm_promotion/acm_promotion.api.php

modules/acm_promotion/acm_promotion.api.php
<?php

/**
 * @file
 * Hooks specific to the acm_promotion module.
 */

/**
 * @addtogroup hooks
 * @{
 */

/**
 * Alter promotion node before it is saved during insert or update.
 *
 * Promotion data from API is passed here to allow other modules to read from
 * the data provided by API and update promotion node accordingly.
 *
 * @param \Drupal\node\NodeInterface $node
 *   Node to alter.
 * @param array $promotion
 *   Array containing details provided by API.
 */
function hook_acm_promotion_promotion_node_alter(NodeInterface $node, array $promotion) {

}

/**
 * @} End of "addtogroup hooks".
 */

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc