You are here

public function FedExPluginBase::__construct in Commerce FedEx 8

Creates a new FedEx Service object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PluginBase::__construct

1 call to FedExPluginBase::__construct()
DryIcePlugin::__construct in modules/dry_ice/src/Plugin/Commerce/FedEx/DryIcePlugin.php
Creates a new Dry Ice FedEx Plugin object.
1 method overrides FedExPluginBase::__construct()
DryIcePlugin::__construct in modules/dry_ice/src/Plugin/Commerce/FedEx/DryIcePlugin.php
Creates a new Dry Ice FedEx Plugin object.

File

src/Plugin/Commerce/FedEx/FedExPluginBase.php, line 32

Class

FedExPluginBase
Class FedExPluginBase base class for the fedex plugins.

Namespace

Drupal\commerce_fedex\Plugin\Commerce\FedEx

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this
    ->setConfiguration($configuration);
}