function _hosting_platform_is_locked in Hosting 6.2
Same name and namespace in other branches
- 7.4 platform/hosting_platform.module \_hosting_platform_is_locked()
- 7.3 platform/hosting_platform.module \_hosting_platform_is_locked()
Small 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 - Implementation of hook_form().
File
- platform/
hosting_platform.module, line 249 - 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;
}
}