1 filter.module _filter_url_js_settings($filter, $format)

Implements callback_filter_js_settings().

Filter URL JS settings callback: return settings for JavaScript.

Related topics

File

core/modules/filter/filter.module, line 2204
Framework for handling the filtering of content.

Code

function _filter_url_js_settings($filter, $format) {
  return array(
    'filterUrlLength' => $filter->settings['filter_url_length'],
  );
}