CertificateMappingsInlineEntityForm.php in Certificate 4.x
File
src/Form/CertificateMappingsInlineEntityForm.php
View source
<?php
namespace Drupal\certificate\Form;
use Drupal;
use Drupal\Core\Form\FormStateInterface;
use Drupal\inline_entity_form\Form\EntityInlineForm;
class CertificateMappingsInlineEntityForm extends EntityInlineForm {
public function entityForm(array $entity_form, FormStateInterface $form_state) {
$entity_form = parent::entityForm($entity_form, $form_state);
$settings = Drupal::config('certificate.settings');
return $entity_form;
}
public function entityFormSubmit(array &$entity_form, FormStateInterface $form_state) {
parent::entityFormSubmit($entity_form, $form_state);
}
public function entityFormValidate(array &$entity_form, FormStateInterface $form_state) {
parent::entityFormValidate($entity_form, $form_state);
}
public function delete($ids, $context) {
parent::delete($ids, $context);
}
}