public function EntityExtraFieldInfo::invoke in Payment 8.2
Same name in this branch
- 8.2 modules/payment_reference/src/Hook/EntityExtraFieldInfo.php \Drupal\payment_reference\Hook\EntityExtraFieldInfo::invoke()
- 8.2 modules/payment_form/src/Hook/EntityExtraFieldInfo.php \Drupal\payment_form\Hook\EntityExtraFieldInfo::invoke()
Invokes the implementation.
File
- modules/
payment_reference/ src/ Hook/ EntityExtraFieldInfo.php, line 29
Class
- EntityExtraFieldInfo
- Implements hook_entity_extra_field_info().
Namespace
Drupal\payment_reference\HookCode
public function invoke() {
$fields['payment']['payment_reference']['form'] = [
'payment_method' => [
'label' => $this
->t('Payment method selection and configuration'),
'weight' => 1,
],
];
return $fields;
}