You are here

function mobile_tools_spaces_registry in Mobile Tools 7.3

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

Implements hook_spaces_registry().

File

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

Code

function mobile_tools_spaces_registry() {
  $types = array();

  /*  $device_groups = mobile_tools_device_groups();

    // Register a space for each device group
    // @todo change to register only one device space type
    // instead use implementations of each space for settings
    foreach ($device_groups as $id => $name) {
      $types['mobile_tools_' . $id] = array(
        'title' => t('Device Group Space: @group', array('@group' => t($name))),
        'plugin' => 'space_mobile_tools',
        'path' => 'admin/config/system/mobile-tools/spaces/%mbspace',
      );
    }

    return array('types' => $types);
    */
}