You are here

function certificate_node_is_certifiable in Certificate 6

Same name and namespace in other branches
  1. 8.3 certificate.module \certificate_node_is_certifiable()
  2. 6.2 certificate.module \certificate_node_is_certifiable()
  3. 7.3 certificate.module \certificate_node_is_certifiable()
  4. 7.2 certificate.module \certificate_node_is_certifiable()
  5. 3.x certificate.module \certificate_node_is_certifiable()

@todo make $types more generic.

3 calls to certificate_node_is_certifiable()
certificate_content_extra_fields in ./certificate.module
Implementation of hook_content_extra_fields(). Allow the certificate download link to be sorted in the node edit forms.
certificate_form_alter in ./certificate.module
Implements hook_form_alter for course nodes.
certificate_nodeapi in ./certificate.module
Implements hook_nodeapi.

File

./certificate.module, line 607
Certificate module.

Code

function certificate_node_is_certifiable(&$node) {
  return variable_get("certificate_certifiable_{$node->type}", 0);
}