public function InlineFormBase::__construct in Commerce Core 8.2
Constructs a new InlineFormBase 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
4 calls to InlineFormBase::__construct()
- CouponRedemption::__construct in modules/
promotion/ src/ Plugin/ Commerce/ InlineForm/ CouponRedemption.php - Constructs a new CouponRedemption object.
- CustomerProfile::__construct in modules/
order/ src/ Plugin/ Commerce/ InlineForm/ CustomerProfile.php - Constructs a new CustomerProfile object.
- PaymentGatewayForm::__construct in modules/
payment/ src/ Plugin/ Commerce/ InlineForm/ PaymentGatewayForm.php - Constructs a new PaymentGatewayForm object.
- PluginConfiguration::__construct in src/
Plugin/ Commerce/ InlineForm/ PluginConfiguration.php - Constructs a new PluginConfiguration object.
4 methods override InlineFormBase::__construct()
- CouponRedemption::__construct in modules/
promotion/ src/ Plugin/ Commerce/ InlineForm/ CouponRedemption.php - Constructs a new CouponRedemption object.
- CustomerProfile::__construct in modules/
order/ src/ Plugin/ Commerce/ InlineForm/ CustomerProfile.php - Constructs a new CustomerProfile object.
- PaymentGatewayForm::__construct in modules/
payment/ src/ Plugin/ Commerce/ InlineForm/ PaymentGatewayForm.php - Constructs a new PaymentGatewayForm object.
- PluginConfiguration::__construct in src/
Plugin/ Commerce/ InlineForm/ PluginConfiguration.php - Constructs a new PluginConfiguration object.
File
- src/
Plugin/ Commerce/ InlineForm/ InlineFormBase.php, line 31
Class
- InlineFormBase
- Provides the base class for inline forms.
Namespace
Drupal\commerce\Plugin\Commerce\InlineFormCode
public function __construct(array $configuration, $plugin_id, $plugin_definition) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this
->setConfiguration($configuration);
$this
->validateConfiguration();
}