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