1 layout.admin.inc _layout_site_info_page_message($id, $setting_type)

Returns a "you should also change" message and link to the appropriate part of the site information page.

Parameters

string $id: The CSS ID of the relevant section of the site information page.

string $setting_type: The translated name of the relevant setting type on the site information page.

Return value

string:

File

core/modules/layout/layout.admin.inc, line 2762
Admin page callbacks for the Layout module.

Code

function _layout_site_info_page_message($id, $setting_type) {
  $url = url('admin/config/system/site-information') . '#' . $id;
  return t('You should also change the @setting_type setting under <a href="!url">site information</a>.', array(
    '@setting_type' => $setting_type,
    '!url' => $url,
  ));
}