PaymentReferenceItemList.php in Payment 8.2
File
modules/payment_reference/src/Plugin/Field/FieldType/PaymentReferenceItemList.php
View source
<?php
namespace Drupal\payment_reference\Plugin\Field\FieldType;
use Drupal\Core\Field\EntityReferenceFieldItemList;
use Drupal\Core\Form\FormStateInterface;
class PaymentReferenceItemList extends EntityReferenceFieldItemList {
public function defaultValuesForm(array &$form, FormStateInterface $form_state) {
return [];
}
public function defaultValuesFormValidate(array $element, array &$form, FormStateInterface $form_state) {
}
public function defaultValuesFormSubmit(array $element, array &$form, FormStateInterface $form_state) {
}
}