You are here

function mobile_tools_switch_link_text in Mobile Tools 7.3

Same name and namespace in other branches
  1. 7.2 mobile_tools.module \mobile_tools_switch_link_text()

Get the text to display on the switch links

Pass the device group you want to link to.

Parameters

string $device_group: Device group

Return value

string Returns the link text

File

./mobile_tools.module, line 578
Functionality to ease the creation of mixed device environments.

Code

function mobile_tools_switch_link_text($device_group) {
  return variable_get('mobile_tools_switch_link_text', MOBILE_TOOLS_SWITCH_LINK_TEXT);
}