You are here

function advanced_forum_get_style in Advanced Forum 6

Same name and namespace in other branches
  1. 6.2 includes/style.inc \advanced_forum_get_style()
  2. 6.2 includes/plugins.inc \advanced_forum_get_style()
  3. 7.2 includes/style.inc \advanced_forum_get_style()
  4. 7.2 includes/plugins.inc \advanced_forum_get_style()

Fetch an advanced forum style plugin

Parameters

$style: Name of the style plugin

Return value

An array with information about the requested style plugin.

1 call to advanced_forum_get_style()
advanced_forum_path_to_style in ./advanced_forum.module
Returns the path to the advanced forum style, including the style name

File

./advf-plugins.inc, line 21
Allows modules to contribute styles.

Code

function advanced_forum_get_style($style) {
  return advanced_forum_get_plugins('styles', 'advforum_styles', $style);
}