commerce_shipping-8.x-2.0-rc2/src/ShippingMethodStorageInterface.php

src/ShippingMethodStorageInterface.php
<?php

namespace Drupal\commerce_shipping;

use Drupal\Core\Entity\ContentEntityStorageInterface;
use Drupal\commerce_shipping\Entity\ShipmentInterface;

/**
 * Defines the interface for shipping method storage.
 */
interface ShippingMethodStorageInterface extends ContentEntityStorageInterface {

  /**
   * Loads all eligible shipping methods for the given shipment.
   *
   * @param \Drupal\commerce_shipping\Entity\ShipmentInterface $shipment
   *   The shipment.
   *
   * @return \Drupal\commerce_shipping\Entity\ShippingMethodInterface[]
   *   The shipping methods.
   */
  public function loadMultipleForShipment(ShipmentInterface $shipment);

}

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

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