You are here

function elf_domains in External Links Filter 5.3

Return an array of all domains that are considered internal.

Return value

array

1 call to elf_domains()
elf_url_external in ./elf.module
Test if a URL is external
2 string references to 'elf_domains'
elf_settings in ./elf.module
Admin settings form.
elf_settings_submit in ./elf.module
Form submission handler for elf_settings().

File

./elf.module, line 95

Code

function elf_domains() {
  global $base_url;
  $domains = variable_get('elf_domains', array());
  $domains[] = $base_url;
  return $domains;
}