You are here

public function CommerceCurrencyResolverSelectBlock::__construct in Commerce Currency Resolver 8

Overrides BlockPluginTrait::__construct

File

src/Plugin/Block/CommerceCurrencyResolverSelectBlock.php, line 32

Class

CommerceCurrencyResolverSelectBlock
Provides Commerce currency block.

Namespace

Drupal\commerce_currency_resolver\Plugin\Block

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, FormBuilderInterface $form_builder) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->formBuilder = $form_builder;
}