og_node_type_delete

  1. drupal
    1. 7 og.module function
Drupal 7 og_node_type_delete($info)

*

  • We immediately delete those variables as they are only used to indicate a
  • content type should be a group or a group content. However, the actual
  • indication for it is in the field API. This is just a workaround, specifically
  • for the node entity, to allow users to define groups via the "content type"
  • page.

File

sites/all/modules/og/og.module, line 833
Enable users to create and manage groups with roles and permissions.

Code

function og_node_type_delete($info) {
  variable_del('og_group_type_' . $info->type);
  variable_del('og_group_content_type_' . $info->type);
}