You are here

function styles_ui_help in Styles 6.2

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

Implementation of hook_help().

File

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

Code

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