You are here

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

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\CommerceAutoSkuGenerator
View 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

Namesort descending Modifiers Type Description Overrides
CommerceAutoSkuGeneratorInterface::generate public function Generated SKU getter. 1
ConfigurableInterface::defaultConfiguration public function Gets default configuration for this plugin. 11
ConfigurableInterface::getConfiguration public function Gets this plugin's configuration. 12
ConfigurableInterface::setConfiguration public function Sets the configuration for this plugin instance. 12
DependentPluginInterface::calculateDependencies public function Calculates dependencies for the configured plugin. 19
DerivativeInspectionInterface::getBaseId public function Gets the base_plugin_id of the plugin instance. 1
DerivativeInspectionInterface::getDerivativeId public function Gets the derivative_id of the plugin instance. 1
PluginFormInterface::buildConfigurationForm public function Form constructor. 36
PluginFormInterface::submitConfigurationForm public function Form submission handler. 32
PluginFormInterface::validateConfigurationForm public function Form validation handler. 18
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2