Created
November 25, 2013 15:38
-
-
Save aaronschachter/7643201 to your computer and use it in GitHub Desktop.
dosomething_campaign_entity_property_info stub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_entity_property_info(). | |
*/ | |
function dosomething_campaign_entity_property_info() { | |
$info = array(); | |
$properties = &$info['campaign']['properties']; | |
$properties['id'] = array( | |
'label' => t("Campaign ID"), | |
'type' => 'integer', | |
'description' => t("The unique campaign ID."), | |
'schema field' => 'id', | |
); | |
$properties['created'] = array( | |
'label' => t("Campaign ID"), | |
'type' => 'integer', | |
'description' => t("The unique campaign ID."), | |
'schema field' => 'id', | |
); | |
return $info; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment