You are here

function domain_url_replace in Domain Access 7.3

Processes pattern matches for the url filter.

Parameters

$matches: An array of matching elements. Item 1 is the path string.

Return value

A Drupal-processed url string.

See also

domain_url_filter_process()

1 string reference to 'domain_url_replace'
domain_url_filter_process in ./domain.module
Implements hook_filter_FILTER_process() magic callback.

File

./domain.module, line 4202
Core module functions for the Domain Access suite.

Code

function domain_url_replace($matches) {
  return url($matches[1]);
}