function _hosting_platform_is_locked

7.x-3.x hosting_platform.module _hosting_platform_is_locked($node)

Helper function to check if a platform is locked.

1 call to _hosting_platform_is_locked()
hosting_task_migrate_form in migrate/hosting_migrate.module
Implements hook_form().

File

platform/hosting_platform.module, line 282
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;
  }
}