You are here

public function SocialContentYoutube::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/youtube/social_content_youtube.class.inc, line 47
Social Content Youtube class.

Class

SocialContentYoutube
@file Social Content Youtube class.

Code

public function fields() {
  return array(
    'id' => 'field_youtube_external_id',
    'created' => 'created',
    'account_id' => '',
    'account_name' => '',
    'account_link' => '',
    'caption' => 'body',
    'link' => 'field_youtube_link',
    'embed_link' => 'field_youtube_embed',
    'picture' => 'field_youtube_picture',
  ) + parent::fields();
}