You are here

public function EntityExtraFieldInfo::__construct in Payment 8.2

Same name in this branch
  1. 8.2 modules/payment_reference/src/Hook/EntityExtraFieldInfo.php \Drupal\payment_reference\Hook\EntityExtraFieldInfo::__construct()
  2. 8.2 modules/payment_form/src/Hook/EntityExtraFieldInfo.php \Drupal\payment_form\Hook\EntityExtraFieldInfo::__construct()

Constructs a new instance.

Parameters

\Drupal\Core\StringTranslation\TranslationInterface $string_translation:

File

modules/payment_reference/src/Hook/EntityExtraFieldInfo.php, line 22

Class

EntityExtraFieldInfo
Implements hook_entity_extra_field_info().

Namespace

Drupal\payment_reference\Hook

Code

public function __construct(TranslationInterface $string_translation) {
  $this->stringTranslation = $string_translation;
}