interface FulfillmentMethodPluginInterface in Ubercart 8.4
Defines an interface for fulfillment method plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Core\Plugin\PluginFormInterface
- interface \Drupal\uc_fulfillment\FulfillmentMethodPluginInterface
Expanded class hierarchy of FulfillmentMethodPluginInterface
All classes that implement FulfillmentMethodPluginInterface
1 file declares its use of FulfillmentMethodPluginInterface
- FulfillmentMethodPluginManager.php in shipping/
uc_fulfillment/ src/ Plugin/ FulfillmentMethodPluginManager.php
File
- shipping/
uc_fulfillment/ src/ FulfillmentMethodPluginInterface.php, line 13
Namespace
Drupal\uc_fulfillmentView source
interface FulfillmentMethodPluginInterface extends PluginInspectionInterface, ConfigurableInterface, PluginFormInterface {
/**
* Returns a description of this shipping method.
*
* @return string
* The description.
*/
public function getDescription();
/**
* Fulfills the order using this method.
*
* @param \Drupal\uc_order\OrderInterface $order
* The order to fulfill.
* @param array $package_ids
* An array of package ids to shipped.
*
* @return \Drupal\Core\Form\FormInterface
* A form to process the order fulfillment.
*/
public function fulfillOrder(OrderInterface $order, array $package_ids);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurableInterface:: |
public | function | Gets default configuration for this plugin. | 11 |
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 12 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 12 |
FulfillmentMethodPluginInterface:: |
public | function | Fulfills the order using this method. | 1 |
FulfillmentMethodPluginInterface:: |
public | function | Returns a description of this shipping method. | 1 |
PluginFormInterface:: |
public | function | Form constructor. | 36 |
PluginFormInterface:: |
public | function | Form submission handler. | 32 |
PluginFormInterface:: |
public | function | Form validation handler. | 18 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |