public function ContributorRoleDeleteForm::init in Bibliography & Citation 2.0.x
Same name and namespace in other branches
- 8 modules/bibcite_entity/src/Form/ContributorRoleDeleteForm.php \Drupal\bibcite_entity\Form\ContributorRoleDeleteForm::init()
Initialize the form state and the entity before the first form build.
Overrides EntityForm::init
File
- modules/
bibcite_entity/ src/ Form/ ContributorRoleDeleteForm.php, line 36
Class
- ContributorRoleDeleteForm
- Builds the form to delete Contributor role entities.
Namespace
Drupal\bibcite_entity\FormCode
public function init(FormStateInterface $form_state) {
parent::init($form_state);
$this->inUse = $this
->checkInReference();
}