You are here

function site_banner_generate_link_to_admin_page in Site Banner 7

Formats a link to the administration page.

Return value

string a formatted string link to the Site Banner admin page.

2 calls to site_banner_generate_link_to_admin_page()
site_banner_build_banner in ./site_banner.module
Builds the site banner and implementing the context hooks.
site_banner_generate_context_banner_text_from_contexts in ./site_banner.module
Returns new banner text by collapsing all active contexts into string.

File

./site_banner.module, line 469
Main module file implementing callbacks for the site banner module.

Code

function site_banner_generate_link_to_admin_page($text) {
  return l($text, 'admin/config/user-interface/site_banner');
}