You are here

protected function CourseHandler::optionsDefinition in Course 7.2

Same name and namespace in other branches
  1. 6 includes/course.core.inc \CourseHandler::optionsDefinition()
  2. 7 includes/CourseHandler.inc \CourseHandler::optionsDefinition()

Handlers can declare their defaults if they have a configuration form.

3 calls to CourseHandler::optionsDefinition()
CourseHandler::save in includes/CourseHandler.inc
Permanently saves the entity.
CourseHandler::__construct in includes/CourseHandler.inc
CourseObject::optionsDefinition in includes/CourseObject.inc
Define configuration elements and their defaults.
2 methods override CourseHandler::optionsDefinition()
CourseObject::optionsDefinition in includes/CourseObject.inc
Define configuration elements and their defaults.
CourseObjectFulfillment::optionsDefinition in includes/CourseObjectFulfillment.inc
Allow arbitrary data to be stored on the fulfillment, without explicitly defining optionsDefinition() in a custom class.

File

includes/CourseHandler.inc, line 137

Class

CourseHandler
Master class for anything Course related.

Code

protected function optionsDefinition() {
  return array();
}