You are here

private function MeetingDeleteForm::_hasResults in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x src/Form/MeetingDeleteForm.php \Drupal\opigno_moxtra\Form\MeetingDeleteForm::_hasResults()

Checks if Live Meeting has parent training.

1 call to MeetingDeleteForm::_hasResults()
MeetingDeleteForm::buildForm in src/Form/MeetingDeleteForm.php
Form constructor.

File

src/Form/MeetingDeleteForm.php, line 29

Class

MeetingDeleteForm
Provides a form for deleting a opigno_moxtra_meeting entity.

Namespace

Drupal\opigno_moxtra\Form

Code

private function _hasResults() {
  $training = $this->entity
    ->getResultsIds();
  return (bool) $training;
}