You are here

function social_media_links_iconset_path in Social Media Links Block and Field 7

Return the library path of an icon set.

Parameters

string $iconset: Name of the icon set.

Return value

string Path of the icon set.

1 call to social_media_links_iconset_path()
social_media_links_iconsets in ./social_media_links.module
Get all registered icon sets.

File

./social_media_links.module, line 557
Functions for the Social Media Links module.

Code

function social_media_links_iconset_path($iconset) {
  $path = FALSE;
  $libraries = social_media_links_libraries();
  if (array_key_exists($iconset, $libraries)) {
    $path = $libraries[$iconset];
  }
  return $path;
}