You are here

function _system_modules_make_pkgid in Util 6.3

Same name and namespace in other branches
  1. 6.2 system_module.module \_system_modules_make_pkgid()

Build a package id for the fieldset.

2 calls to _system_modules_make_pkgid()
system_module_settings in ./system_module.module
theme_system_modules_theme in ./system_module.module

File

./system_module.module, line 360
Customize System Modules fieldsets

Code

function _system_modules_make_pkgid($package) {
  if (strpos($package, '-')) {
    $package = str_replace(' ', '', $package);
  }
  return drupal_strtolower(form_clean_id($package));
}