function QuizMetadataController::entityPropertyInfo in Quiz 7.6
Same name and namespace in other branches
- 7.5 includes/QuizMetadataController.class.inc \QuizMetadataController::entityPropertyInfo()
Overrides EntityDefaultMetadataController::entityPropertyInfo
File
- includes/
QuizMetadataController.class.inc, line 5
Class
Code
function entityPropertyInfo() {
$info = parent::entityPropertyInfo();
$info['quiz']['properties']['quiz_open']['label'] = 'Open date';
$info['quiz']['properties']['quiz_open']['type'] = 'date';
$info['quiz']['properties']['quiz_close']['label'] = 'Close date';
$info['quiz']['properties']['quiz_close']['type'] = 'date';
return $info;
}