private function MeetingDeleteForm::_hasTraining in Opigno Moxtra 8
Same name and namespace in other branches
- 3.x src/Form/MeetingDeleteForm.php \Drupal\opigno_moxtra\Form\MeetingDeleteForm::_hasTraining()
Checks if Live Meeting has parent training.
1 call to MeetingDeleteForm::_hasTraining()
- MeetingDeleteForm::buildForm in src/
Form/ MeetingDeleteForm.php - Form constructor.
File
- src/
Form/ MeetingDeleteForm.php, line 21
Class
- MeetingDeleteForm
- Provides a form for deleting a opigno_moxtra_meeting entity.
Namespace
Drupal\opigno_moxtra\FormCode
private function _hasTraining() {
$training = $this->entity
->getTrainingId();
return (bool) $training;
}