You are here

function _mobile_tools_empty_device_group in Mobile Tools 7.3

Builds an empty device group object

Return value

object Reeturns an empty device group object.

1 call to _mobile_tools_empty_device_group()
mobile_tools_device_group_form in ./mobile_tools.admin.inc
Form to add a new device group

File

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

Code

function _mobile_tools_empty_device_group() {

  // Use the CTools export API to create an empty object
  ctools_include('export');
  $device_group = ctools_export_crud_new('mobile_tools_device_group');
  return $device_group;
}