interface CommerceAutoSkuGeneratorInterface in Commerce AutoSKU 8.2
Places an order through a series of steps.
Checkout flows are multi-step forms that can be configured by the store administrator. This configuration is stored in the commerce_checkout_flow config entity and injected into the plugin at instantiation.
Hierarchy
- interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Core\Plugin\PluginFormInterface; interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Component\Plugin\DerivativeInspectionInterface; interface \Drupal\Component\Plugin\DependentPluginInterface
- interface \Drupal\commerce_autosku\Plugin\CommerceAutoSkuGenerator\CommerceAutoSkuGeneratorInterface
Expanded class hierarchy of CommerceAutoSkuGeneratorInterface
All classes that implement CommerceAutoSkuGeneratorInterface
1 file declares its use of CommerceAutoSkuGeneratorInterface
- CommerceAutoSkuManager.php in src/
CommerceAutoSkuManager.php - Contains \Drupal\commerce_autosku\AutoEntityLabelManager.
File
- src/
Plugin/ CommerceAutoSkuGenerator/ CommerceAutoSkuGeneratorInterface.php, line 19
Namespace
Drupal\commerce_autosku\Plugin\CommerceAutoSkuGeneratorView source
interface CommerceAutoSkuGeneratorInterface extends ConfigurableInterface, PluginFormInterface, PluginInspectionInterface, DerivativeInspectionInterface, DependentPluginInterface {
/**
* Generated SKU getter.
*
* @param \Drupal\commerce_product\Entity\ProductVariationInterface $entity
* Entity SKU generated for.
*
* @return string
* Generated SKU for giv.
*/
public function generate(ProductVariationInterface $entity);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CommerceAutoSkuGeneratorInterface:: |
public | function | Generated SKU getter. | 1 |
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 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 19 |
DerivativeInspectionInterface:: |
public | function | Gets the base_plugin_id of the plugin instance. | 1 |
DerivativeInspectionInterface:: |
public | function | Gets the derivative_id of the plugin instance. | 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 |