You are here

public function CourseObject::isSkippable in Course 8.3

Same name and namespace in other branches
  1. 8.2 src/Entity/CourseObject.php \Drupal\course\Entity\CourseObject::isSkippable()
  2. 3.x src/Entity/CourseObject.php \Drupal\course\Entity\CourseObject::isSkippable()

If this course object is required, can be it skipped?

Return value

bool

File

src/Entity/CourseObject.php, line 584

Class

CourseObject
Parent abstract base class of all course objects.

Namespace

Drupal\course\Entity

Code

public function isSkippable() {
  return (bool) $this
    ->getOption('skippable');
}