MultistepDefault.php in Commerce Core 8.2
File
modules/checkout/src/Plugin/Commerce/CheckoutFlow/MultistepDefault.php
View source
<?php
namespace Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow;
class MultistepDefault extends CheckoutFlowWithPanesBase {
public function getSteps() {
return [
'login' => [
'label' => $this
->t('Login'),
'previous_label' => $this
->t('Go back'),
'has_sidebar' => FALSE,
],
'order_information' => [
'label' => $this
->t('Order information'),
'has_sidebar' => TRUE,
'previous_label' => $this
->t('Go back'),
],
'review' => [
'label' => $this
->t('Review'),
'next_label' => $this
->t('Continue to review'),
'previous_label' => $this
->t('Go back'),
'has_sidebar' => TRUE,
],
] + parent::getSteps();
}
}