1 filter.module | filter_library_info() |
Implements hook_library_info().
File
- core/
modules/ filter/ filter.module, line 693 - Framework for handling the filtering of content.
Code
function filter_library_info() {
$module_path = backdrop_get_path('module', 'filter');
$libraries['filter'] = array(
'version' => BACKDROP_VERSION,
'js' => array(
$module_path . '/js/filter.js' => array(),
),
'css' => array(
$module_path . '/css/filter.css' => array(),
),
'dependencies' => array(
array('system', 'backdrop.ajax'),
),
);
// Filter admin is put in the JS_THEME group to force it after tabledrag.js.
$libraries['filter.admin'] = array(
'version' => BACKDROP_VERSION,
'js' => array(
$module_path . '/js/filter.admin.js' => array('group' => JS_THEME, 'aggregate' => FALSE,),
),
'css' => array(
$module_path . '/css/filter.admin.css' => array('group' => CSS_THEME, 'aggregate' => FALSE),
),
);
$libraries['filter.filtered_html.admin'] = array(
'version' => BACKDROP_VERSION,
'js' => array(
$module_path . '/js/filter.filtered_html.admin.js' => array('group' => JS_THEME, 'aggregate' => FALSE,),
),
'dependencies' => array(
array('filter', 'filter.admin'),
),
);
return $libraries;
}