class QuizQuestionMetadataController in Quiz 7.6
Same name and namespace in other branches
- 7.5 includes/QuizQuestionMetadataController.class.inc \QuizQuestionMetadataController
Hierarchy
Expanded class hierarchy of QuizQuestionMetadataController
1 string reference to 'QuizQuestionMetadataController'
- quiz_question_entity_info in question_types/
quiz_question/ quiz_question.module - Implements hook_entity_info().
File
- includes/
QuizQuestionMetadataController.class.inc, line 3
View source
class QuizQuestionMetadataController extends EntityDefaultMetadataController {
function entityPropertyInfo() {
$info = parent::entityPropertyInfo();
$info['quiz_question']['properties']['nid']['type'] = 'node';
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 | ||
QuizQuestionMetadataController:: |
function |
Overrides EntityDefaultMetadataController:: |