commerce_inventory-8.x-1.0-alpha6/src/QuantityMinimumResolverInterface.php

src/QuantityMinimumResolverInterface.php
<?php

namespace Drupal\commerce_inventory;

/**
 * Defines the interface for quantity minimum resolvers.
 */
interface QuantityMinimumResolverInterface {

  /**
   * Allocates inventory adjustments.
   *
   * @param int $inventory_item_id
   *   The Inventory Item entity ID.
   *
   * @return float|int|null
   *   An minimum quantity, if resolved. Otherwise NULL, indicating
   *   that the next resolver should be called.
   */
  public function resolve($inventory_item_id);

}

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

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