You are here

function footable_breakpoint_load in FooTable 7.2

Load a single FooTable breakpoint by machine name.

Parameters

string $machine_name: The breakpoint machine name.

Return value

bool|object The breakpoint configuration, or FALSE if no matching breakpoint was found.

1 call to footable_breakpoint_load()
footable_update_7201 in ./footable.install
Add the 7-x.1.x breakpoints to provide backwards compatibility with the 7.x-1.x version.

File

./footable.module, line 431
Provides Views integration for the jQuery FooTable plugin.

Code

function footable_breakpoint_load($machine_name) {
  $breakpoints = footable_breakpoint_load_multiple(array(
    $machine_name,
  ), TRUE);
  if (isset($breakpoints[$machine_name])) {
    return $breakpoints[$machine_name];
  }
  return FALSE;
}