function blockgroup_edit_blockgroup_name_exists in Block Group 7
Same name and namespace in other branches
- 7.2 blockgroup.module \blockgroup_edit_blockgroup_name_exists()
Returns whether a block group already exists.
See also
1 string reference to 'blockgroup_edit_blockgroup_name_exists'
- blockgroup_block_configure in ./
blockgroup.module - Implements hook_block_configure().
File
- ./
blockgroup.module, line 187 - Add block groups to block configuration page
Code
function blockgroup_edit_blockgroup_name_exists($value) {
$blockgroups = blockgroup_list();
return array_key_exists($value, $blockgroups);
}