You are here

function styles_ui_help in Styles 6

Same name and namespace in other branches
  1. 6.2 contrib/styles_ui/styles_ui.module \styles_ui_help()

Implementation of hook_help().

File

contrib/styles_ui/styles_ui.module, line 88
styles_ui.module Styles UI

Code

function styles_ui_help($path, $arg) {
  foreach (styles_containers() as $field_type => $containers) {
    if (isset($containers['admin']) && $path == $containers['admin']['path'] && isset($containers['help'])) {
      return '<p>' . $containers['help'] . '</p>';
    }
  }
}