class QuizQuestionRelationshipMetadataController in Quiz 7.5
Same name and namespace in other branches
- 7.6 includes/QuizQuestionRelationshipMetadataController.class.inc \QuizQuestionRelationshipMetadataController
Hierarchy
Expanded class hierarchy of QuizQuestionRelationshipMetadataController
1 string reference to 'QuizQuestionRelationshipMetadataController'
- quiz_entity_info in ./
quiz.module - Implements hook_entity_info().
File
- includes/
QuizQuestionRelationshipMetadataController.class.inc, line 3
View source
class QuizQuestionRelationshipMetadataController extends EntityDefaultMetadataController {
public 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;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityDefaultMetadataController:: |
protected | property | ||
EntityDefaultMetadataController:: |
public static | function | A options list callback returning all bundles for an entity type. | |
EntityDefaultMetadataController:: |
protected | function | Return a set of properties for an entity based on the schema definition | |
EntityDefaultMetadataController:: |
public | function | ||
QuizQuestionRelationshipMetadataController:: |
public | function |
Overrides EntityDefaultMetadataController:: |