You are here

function beautytips_get_style in BeautyTips 8

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

Get an array of options that defines a particular style

1 call to beautytips_get_style()
BeautytipsConfigForm::submitForm in src/Form/BeautytipsConfigForm.php
Form submission handler.

File

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

Code

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