public function AgreeTerms::defaultConfiguration in Commerce Agree Terms 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides CheckoutPaneBase::defaultConfiguration
File
- src/
Plugin/ Commerce/ CheckoutPane/ AgreeTerms.php, line 25
Class
- AgreeTerms
- Provides the completion message pane.
Namespace
Drupal\commerce_agree_terms\Plugin\Commerce\CheckoutPaneCode
public function defaultConfiguration() {
return [
'nid' => NULL,
'link_text' => 'Terms and Conditions',
'prefix_text' => 'I agree with the %terms',
'invalid_text' => 'You must agree with the %terms before continuing',
'new_window' => 1,
] + parent::defaultConfiguration();
}