You are here

function beautytips_get_style in BeautyTips 6.2

Same name and namespace in other branches
  1. 8 beautytips.module \beautytips_get_style()
  2. 7.2 beautytips.module \beautytips_get_style()

Get an array of options that defines a particular style

2 calls to beautytips_get_style()
beautytips_add_beautytips in ./beautytips.module
This is the API. Call this function to add beautytips.
beautytips_admin_submit in ./beautytips.admin.inc
Submit function for beautytips settings form

File

./beautytips.module, line 139
Provides API for adding beautytips to pages. TODO: Add status about excanvas on status page.

Code

function beautytips_get_style($style = 'default') {
  $styles = beautytips_get_styles();
  return isset($styles[$style]) ? $styles[$style] : array();
}