public function OpignoActivity::evaluationMethodManual in Opigno module 8
Same name and namespace in other branches
- 3.x src/Entity/OpignoActivity.php \Drupal\opigno_module\Entity\OpignoActivity::evaluationMethodManual()
Get if evaluation Method Manual.
Return value
bool
File
- src/
Entity/ OpignoActivity.php, line 481
Class
- OpignoActivity
- Defines the Activity entity.
Namespace
Drupal\opigno_module\EntityCode
public function evaluationMethodManual() : bool {
if ($this
->hasField('opigno_evaluation_method') && $this
->get('opigno_evaluation_method')->value) {
return TRUE;
}
return FALSE;
}