You are here

public function CheckoutPanePluginBase::getConfiguration in Ubercart 8.4

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurableInterface::getConfiguration

File

uc_cart/src/CheckoutPanePluginBase.php, line 54

Class

CheckoutPanePluginBase
Defines a base checkout pane plugin implementation.

Namespace

Drupal\uc_cart

Code

public function getConfiguration() {
  return [
    'status' => $this
      ->isEnabled(),
    'weight' => $this
      ->getWeight(),
    'settings' => $this->configuration,
  ];
}