function _textimage_js_background in Textimage 6.2
Same name and namespace in other branches
- 5.2 textimage.module \_textimage_js_background()
1 call to _textimage_js_background()
File
- ./
textimage.module, line 1069
Code
function _textimage_js_background(&$form) {
$id = count($form['settings']['preview']['text']['additional']);
$form['settings']['preview']['text']['additional'][$id] = $form['settings']['preview']['text']['default'];
$form['settings']['preview']['text']['additional'][$id]['#title'] = 'Additional text';
}