You are here

function _hosting_platform_is_locked in Hostmaster (Aegir) 6

Small helper function to check if a platform is locked.

1 call to _hosting_platform_is_locked()
hosting_task_migrate_form in modules/hosting/migrate/hosting_migrate.module
Implementation of hook_form().

File

modules/hosting/platform/hosting_platform.module, line 164
Platform node type definition.

Code

function _hosting_platform_is_locked($node) {
  if (in_array($node, array_keys(_hosting_get_locked_platforms()))) {
    return TRUE;
  }
  else {
    return FALSE;
  }
}