public function LPManagedContent::isMandatory in Opigno Learning path 8
Same name and namespace in other branches
- 3.x src/Entity/LPManagedContent.php \Drupal\opigno_learning_path\Entity\LPManagedContent::isMandatory()
Returns TRUE if this content is mandatory to success this learning path.
File
- src/
Entity/ LPManagedContent.php, line 171
Class
- LPManagedContent
- Defines the Learning Path Content entity.
Namespace
Drupal\opigno_learning_path\EntityCode
public function isMandatory() {
return $this
->get('is_mandatory')->value;
}