You are here

public function ContactSubscription::isVisible in Mailchimp E-Commerce 8

Determines whether the pane is visible.

Return value

bool TRUE if the pane is visible, FALSE otherwise.

Overrides CheckoutPaneBase::isVisible

File

modules/mailchimp_ecommerce_commerce/src/Plugin/Commerce/CheckoutPane/ContactSubscription.php, line 119

Class

ContactSubscription
Provides the subscription information pane.

Namespace

Drupal\mailchimp_ecommerce_commerce\Plugin\Commerce\CheckoutPane

Code

public function isVisible() {
  $steps = $this->checkoutFlow
    ->getSteps();
  return TRUE;
}