function certificate_node_is_certifiable in Certificate 3.x
Same name and namespace in other branches
- 8.3 certificate.module \certificate_node_is_certifiable()
- 6.2 certificate.module \certificate_node_is_certifiable()
- 6 certificate.module \certificate_node_is_certifiable()
- 7.3 certificate.module \certificate_node_is_certifiable()
- 7.2 certificate.module \certificate_node_is_certifiable()
Check if node is certifiable.
Return value
bool
4 calls to certificate_node_is_certifiable()
- certificate_can_access_certificate in ./
certificate.module - Check if a user can access a certificate for this node.
- certificate_field_attach_form in ./
certificate.module - Implements hook_field_attach_form().
- certificate_node_load in ./
certificate.module - Implements hook_node_load().
- certificate_node_update in ./
certificate.module - Implementation of hook_node_update().
File
- ./
certificate.module, line 454 - Certificate module.
Code
function certificate_node_is_certifiable($node) {
if (isset($node->type)) {
return variable_get("certificate_certifiable_{$node->type}", 0);
}
return FALSE;
}