interface CheckoutFlowWithPanesInterface in Commerce Core 8.2
Defines the interface for checkout flows which have panes.
Hierarchy
- interface \Drupal\Core\Form\FormInterface; interface \Drupal\Core\Form\BaseFormIdInterface; interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Component\Plugin\DependentPluginInterface; interface \Drupal\Core\Plugin\PluginFormInterface; interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Component\Plugin\DerivativeInspectionInterface
- interface \Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow\CheckoutFlowInterface
- interface \Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow\CheckoutFlowWithPanesInterface
- interface \Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow\CheckoutFlowInterface
Expanded class hierarchy of CheckoutFlowWithPanesInterface
All classes that implement CheckoutFlowWithPanesInterface
1 file declares its use of CheckoutFlowWithPanesInterface
- CheckoutFlow.php in modules/
checkout/ src/ Entity/ CheckoutFlow.php
File
- modules/
checkout/ src/ Plugin/ Commerce/ CheckoutFlow/ CheckoutFlowWithPanesInterface.php, line 8
Namespace
Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlowView source
interface CheckoutFlowWithPanesInterface extends CheckoutFlowInterface {
/**
* Gets the panes.
*
* @return \Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane\CheckoutPaneInterface[]
* The panes, keyed by pane id, ordered by weight.
*/
public function getPanes();
/**
* Gets the visible panes for the given step ID.
*
* @param string $step_id
* The step ID.
*
* @return \Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane\CheckoutPaneInterface[]
* The panes, keyed by pane id, ordered by weight.
*/
public function getVisiblePanes($step_id);
/**
* Gets a pane with the given ID.
*
* @param string $pane_id
* The pane ID.
*
* @return \Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane\CheckoutPaneInterface|null
* The pane, or NULL if not found.
*/
public function getPane($pane_id);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseFormIdInterface:: |
public | function | Returns a string identifying the base form. | 5 |
CheckoutFlowInterface:: |
public | function | Gets the next step ID for the given step ID. | 1 |
CheckoutFlowInterface:: |
public | function | Gets the current order. | 1 |
CheckoutFlowInterface:: |
public | function | Gets the previous step ID for the given step ID. | 1 |
CheckoutFlowInterface:: |
public | function | Gets the defined steps. | 1 |
CheckoutFlowInterface:: |
public | function | Gets the visible steps. | 1 |
CheckoutFlowInterface:: |
public | function | Redirects an order to a specific step in the checkout. | 1 |
CheckoutFlowWithPanesInterface:: |
public | function | Gets a pane with the given ID. | 1 |
CheckoutFlowWithPanesInterface:: |
public | function | Gets the panes. | 1 |
CheckoutFlowWithPanesInterface:: |
public | function | Gets the visible panes for the given step ID. | 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 |
FormInterface:: |
public | function | Form constructor. | 179 |
FormInterface:: |
public | function | Returns a unique string identifying the form. | 236 |
FormInterface:: |
public | function | Form submission handler. | 192 |
FormInterface:: |
public | function | Form validation handler. | 30 |
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 |