protected function CourseHandler::optionsDefinition in Course 3.x
Same name and namespace in other branches
- 8.3 src/Helper/CourseHandler.php \Drupal\course\Helper\CourseHandler::optionsDefinition()
- 8.2 src/Helper/CourseHandler.php \Drupal\course\Helper\CourseHandler::optionsDefinition()
Handlers can declare their defaults if they have a configuration form.
3 calls to CourseHandler::optionsDefinition()
- CourseHandler::getOptions in src/
Helper/ CourseHandler.php - Get an object's configuration.
- CourseHandler::setOption in src/
Helper/ CourseHandler.php - Set an option for this handler.
- CourseObject::optionsDefinition in src/
Entity/ CourseObject.php - Define configuration elements and their defaults.
2 methods override CourseHandler::optionsDefinition()
- CourseObject::optionsDefinition in src/
Entity/ CourseObject.php - Define configuration elements and their defaults.
- CourseObjectFulfillment::optionsDefinition in src/
Entity/ CourseObjectFulfillment.php - Allow arbitrary data to be stored on the fulfillment, without explicitly defining optionsDefinition() in a custom class.
File
- src/
Helper/ CourseHandler.php, line 166
Class
- CourseHandler
- Master class for a course related content entity.
Namespace
Drupal\course\HelperCode
protected function optionsDefinition() {
return array();
}