You are here

function breakpoints_breakpoint_config_name in Breakpoints 7

Construct config name.

5 calls to breakpoints_breakpoint_config_name()
breakpoints_admin_breakpoints_submit in ./breakpoints.admin.inc
Admin form submit.
breakpoints_breakpoints_group_reload_from_theme in ./breakpoints.module
breakpoints_breakpoint_delete in ./breakpoints.module
Delete a single breakpoint.
breakpoints_breakpoint_save in ./breakpoints.module
Save a single breakpoint.
breakpoints_themes_enabled in ./breakpoints.module
Implements hook_themes_enabled(); Import breakpoints from all new enabled themes. Do not use breakpoints_breakpoints_group_reload_from_theme as is clears the cache.

File

./breakpoints.module, line 349
Breakpoints @todo: provide button to reload breakpoints from theme

Code

function breakpoints_breakpoint_config_name($breakpoints_breakpoint) {
  if (is_string($breakpoints_breakpoint)) {
    return $breakpoints_breakpoint;
  }
  else {
    return drupal_strtolower('breakpoints' . '.' . $breakpoints_breakpoint->source_type . '.' . $breakpoints_breakpoint->source . '.' . $breakpoints_breakpoint->name);
  }
}