You are here

public function ProraterBase::__construct in Commerce Recurring Framework 8

Constructs a new ProraterBase object.

Parameters

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

string $plugin_id: The pluginId for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PluginBase::__construct

1 call to ProraterBase::__construct()
Proportional::__construct in src/Plugin/Commerce/Prorater/Proportional.php
Constructs a new Proportional object.
1 method overrides ProraterBase::__construct()
Proportional::__construct in src/Plugin/Commerce/Prorater/Proportional.php
Constructs a new Proportional object.

File

src/Plugin/Commerce/Prorater/ProraterBase.php, line 26

Class

ProraterBase
Defines the prorater class.

Namespace

Drupal\commerce_recurring\Plugin\Commerce\Prorater

Code

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