You are here

function CourseObject::isGraded in Course 3.x

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

Is this object graded?

Returning TRUE here will cause some more configurations to show on the object's form.

Return value

bool

1 call to CourseObject::isGraded()
CourseObject::optionsForm in src/Entity/CourseObject.php
Default options form for all course objects.
2 methods override CourseObject::isGraded()
CourseObjectGradedTest::isGraded in modules/course_test/src/Plugin/course/CourseObject/CourseObjectGradedTest.php
Is this object graded?
CourseObjectQuiz::isGraded in modules/course_quiz/src/Plugin/course/CourseObject/CourseObjectQuiz.php
Is this object graded?

File

src/Entity/CourseObject.php, line 657

Class

CourseObject
Parent abstract base class of all course objects.

Namespace

Drupal\course\Entity

Code

function isGraded() {
  return FALSE;
}