public function SocialContentTwitter::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/
twitter/ social_content_twitter.class.inc, line 43 - Social Content Twitter class.
Class
- SocialContentTwitter
- @file Social Content Twitter class.
Code
public function getSource() {
return $this->settings['instance']['type'] == 'account' ? $this->settings['instance']['account'] : $this->settings['instance']['hashtag'];
}