You are here

function content_type_groups_group_load in Content type groups 7

Same name and namespace in other branches
  1. 7.2 content_type_groups.module \content_type_groups_group_load()

Callback for #machine_name exists for content_type_groups_group_form.

1 string reference to 'content_type_groups_group_load'
content_type_groups_group_form in ./content_type_groups.admin.inc
Form builder; Returns form for adding a new content type group.

File

./content_type_groups.admin.inc, line 167
Admin page callback file for the Content type groups module.

Code

function content_type_groups_group_load($machine_name) {
  $group = new ContentTypeGroup($machine_name);
  return $group->name !== NULL;
}