You are here

public function SocialContentTwitter::fields in Social Content 7.2

Fields to save from the row.

Get fields to save.

Return value

array List of fields to save.

Overrides SocialContent::fields

File

modules/twitter/social_content_twitter.class.inc, line 131
Social Content Twitter class.

Class

SocialContentTwitter
@file Social Content Twitter class.

Code

public function fields() {
  return array(
    'id' => 'field_tweet_external_id',
    'created' => 'created',
    'text' => 'body',
    'hashtag' => 'field_tweet_hashtag',
    'account' => 'field_tweet_user',
    'account_link' => 'field_tweet_user_link',
    'link' => 'field_tweet_link',
    'media' => 'field_tweet_media',
    'user_picture' => 'field_tweet_user_picture',
    'name' => 'field_tweet_user_name',
  ) + parent::fields();
}