function _hosting_platform_is_locked in Hosting 7.4
Same name and namespace in other branches
- 6.2 platform/hosting_platform.module \_hosting_platform_is_locked()
- 7.3 platform/hosting_platform.module \_hosting_platform_is_locked()
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 347 - 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;
}
}