You are here

function styleswitcher_block in Style Switcher 6.2

Same name and namespace in other branches
  1. 6 styleswitcher.module \styleswitcher_block()

Implements hook_block().

File

./styleswitcher.module, line 16
Module's hooks implementations and helper functions.

Code

function styleswitcher_block($op = 'list', $delta = 0, $edit = array()) {
  switch ($op) {
    case 'list':
      return styleswitcher_block_info();
    case 'view':
      return styleswitcher_block_view($delta);
  }
}