You are here

function beautytips_get_style in BeautyTips 7.2

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

Get an array of options that defines a particular style

1 call to beautytips_get_style()
beautytips_admin_submit in ./beautytips.admin.inc
Submit function for beautytips settings form

File

./beautytips.module, line 176
Provides API for adding beautytips to pages.

Code

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