You are here

function assets_filter_process in Asset 7

Filter callback for assets markup filter.

1 string reference to 'assets_filter_process'
asset_filter_info in ./asset.module
Implements hook_filter_info().

File

includes/asset.filters.inc, line 59
Assets Input filters logic.

Code

function assets_filter_process($text) {
  $text = preg_replace_callback('/\\[\\[asset:([_a-zA-Z0-9]+):([0-9]+)\\s\\{((\\n|.)*?)\\}\\]\\]/s', 'assets_filter_replace_process', $text);
  return $text;
}