public function Currency::__construct in Currency 8.3
Same name in this branch
- 8.3 src/Entity/Currency.php \Drupal\currency\Entity\Currency::__construct()
- 8.3 src/Plugin/views/filter/Currency.php \Drupal\currency\Plugin\views\filter\Currency::__construct()
- 8.3 src/Plugin/views/field/Currency.php \Drupal\currency\Plugin\views\field\Currency::__construct()
Constructs a new instance.
Parameters
mixed[] $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.
\Drupal\currency\FormHelperInterface: The form helper.
Overrides HandlerBase::__construct
File
- src/
Plugin/ views/ filter/ Currency.php, line 38
Class
- Currency
- A Views filter handler to filter currencies by ISO 4217 code.
Namespace
Drupal\currency\Plugin\views\filterCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, FormHelperInterface $form_helper) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->formHelper = $form_helper;
}