You are here

function breakpoint_group_load in Breakpoints 8

Load one breakpoint group by its identifier.

@todo Remove this in a follow-up issue.

Parameters

string $id: The id of the breakpoint group to load.

Return value

Drupal\breakpoint\BreakpointGroup|false The breakpoint group, or FALSE if there is no entity with the given id.

See also

http://drupal.org/node/1798214

File

./breakpoint.module, line 349
Manage breakpoints and breakpoint groups for responsive designs.

Code

function breakpoint_group_load($id) {
  return entity_load('breakpoint_group', $id);
}