public function SocialContent::getFieldMappings in Social Content 7.2
Remote fields map to local fields.
Get fields to import.
Return value
array List of fields to save.
12 calls to SocialContent::getFieldMappings()
- SocialContent::import in ./
social_content.class.inc - Do the import.
- SocialContent::instanceSettingsForm in ./
social_content.class.inc - Instance settings form.
- SocialContentFacebook::prepareRow in modules/
facebook/ social_content_facebook.class.inc - Do the uploads and attach expected fields to a row about to be imported.
- SocialContentFlickr::prepareRow in modules/
flickr/ social_content_flickr.class.inc - Do the uploads and attach expected fields to a row about to be imported.
- SocialContentInstagram::prepareRow in modules/
instagram/ social_content_instagram.class.inc - Do the uploads and attach expected fields to a row about to be imported.
File
- ./
social_content.class.inc, line 787 - Social Content class.
Class
- SocialContent
- TODO: Table names should be a property for ease of change Separate this class into smaller classes.
Code
public function getFieldMappings() {
if (isset($this->settings['instance']['fields'])) {
return $this->settings['instance']['fields'];
}
else {
return $this
->fields();
}
}