You are here

public function SocialContentFlickr::getSource in Social Content 7.2

Get the source being used to get the rows i.e. account / hashtag.

Return value

string The hashtag / account being used to fetch the rows.

Overrides SocialContent::getSource

File

modules/flickr/social_content_flickr.class.inc, line 35
Social Content Flickr class.

Class

SocialContentFlickr
@file Social Content Flickr class.

Code

public function getSource() {
  return $this->settings['instance']['type'] == 'user' ? $this->settings['instance']['user_id'] : $this->settings['instance']['group_id'];
}