You are here

function socialmedia_pinterest_platform_info in Social media 7

1 call to socialmedia_pinterest_platform_info()
socialmedia_socialmedia_platform_info in ./socialmedia.platforms.inc
@file Defines social media platforms

File

./socialmedia.platforms.inc, line 577
Defines social media platforms

Code

function socialmedia_pinterest_platform_info() {
  $platforms = array();
  $platforms['pinterest'] = array(
    'title' => t('Pinterest'),
    'description' => t('URL to your Pinterest profile or board'),
    'homepage' => 'http://pinterest.com/',
    'redirect path' => 'pinterest',
    'parser callback' => 'socialmedia_pinterest_parser',
    'tokens callback' => 'socialmedia_pinterest_tokens',
  );
  $platforms['pinterest']['form'] = array(
    'title' => t('LinkedIn profile'),
    'description' => t('URL to your LinkedIn profile'),
  );
  $platforms['pinterest']['tokens']['multi'] = array(
    'pinterest_url' => array(
      'name' => t("Pinterest profile url"),
      'description' => t("URL to Pinterest profile."),
    ),
    'pinterest_url-brief' => array(
      'name' => t("Pinterest profile url (brief)"),
      'description' => t("URL to Pinterest profile without protocol."),
    ),
    'pinterest_username' => array(
      'name' => t("Pinterest name"),
      'description' => t("Pinterest profile name"),
    ),
  );
  return $platforms;
}