function form_placeholder_libraries_info in Form Placeholder 7
Implements hook_libraries_info().
File
- ./
form_placeholder.module, line 38 - Use field label as placeholder for all elements in choosen form.
Code
function form_placeholder_libraries_info() {
$libraries['jquery.placeholder'] = array(
'title' => 'jQuery Placeholder',
'vendor url' => 'https://github.com/mathiasbynens/jquery-placeholder',
'download url' => 'https://github.com/mathiasbynens/jquery-placeholder/archive/v2.0.8.zip',
'version' => '2.0.8',
'files' => array(
'js' => array(
'jquery.placeholder.js',
),
),
'variants' => array(
'source' => array(
'files' => array(
'js' => array(
'jquery.placeholder.js',
),
),
),
),
);
return $libraries;
}