function QuizQuestionRelationshipMetadataController::entityPropertyInfo in Quiz 7.6
Same name and namespace in other branches
- 7.5 includes/QuizQuestionRelationshipMetadataController.class.inc \QuizQuestionRelationshipMetadataController::entityPropertyInfo()
Overrides EntityDefaultMetadataController::entityPropertyInfo
File
- includes/
QuizQuestionRelationshipMetadataController.class.inc, line 5
Class
Code
function entityPropertyInfo() {
$info = parent::entityPropertyInfo();
$info['quiz_question_relationship']['properties']['child_nid']['type'] = 'node';
$info['quiz_question_relationship']['properties']['child_vid']['type'] = 'integer';
$info['quiz_question_relationship']['properties']['parent_nid']['type'] = 'node';
$info['quiz_question_relationship']['properties']['parent_vid']['type'] = 'integer';
return $info;
}