You are here

function _emimage_custom_url_get_domain_file in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emimage/providers/custom_url.inc \_emimage_custom_url_get_domain_file()
1 call to _emimage_custom_url_get_domain_file()
emimage_custom_url_data in contrib/emimage/providers/custom_url.inc
This function will get additional information of the image source input by the end user. It will also use a helper function to validate the source of the image.

File

contrib/emimage/providers/custom_url.inc, line 72

Code

function _emimage_custom_url_get_domain_file($url) {
  return substr(strrchr($url, '/'), 1);
}