You are here

function structured_data_get_social_link_info in Structured Data (JSON+LD Rich Snippets) 7

Gets the social link data.

Return value

(array) Data matching schema.org definition for sameAs.

1 call to structured_data_get_social_link_info()
structured_data_preprocess_html in ./structured_data.module
Implements template_preprocess_html().

File

./structured_data.module, line 192
Annotate your content to generate Rich Search Snippets.

Code

function structured_data_get_social_link_info() {
  $data = array();
  if ($social_links = variable_get('structured_data_social_links', FALSE)) {
    return $social_links;
  }
  return FALSE;
}