You are here

protected function AddressPaneBase::sourcePaneId in Ubercart 8.4

Returns the ID of the source (first) address pane for copying.

2 calls to AddressPaneBase::sourcePaneId()
AddressPaneBase::process in uc_cart/src/Plugin/Ubercart/CheckoutPane/AddressPaneBase.php
Processes a checkout pane.
AddressPaneBase::view in uc_cart/src/Plugin/Ubercart/CheckoutPane/AddressPaneBase.php
Returns the contents of a checkout pane.

File

uc_cart/src/Plugin/Ubercart/CheckoutPane/AddressPaneBase.php, line 172

Class

AddressPaneBase
Provides a generic address pane that can be extended as required.

Namespace

Drupal\uc_cart\Plugin\Ubercart\CheckoutPane

Code

protected function sourcePaneId() {
  if (!isset(self::$sourcePaneId)) {
    self::$sourcePaneId = $this->pluginDefinition['id'];
  }
  return self::$sourcePaneId;
}