interface BreakpointManagerInterface (View source)

Defines an interface for breakpoint managers.

Methods

getBreakpointsByGroup(string $group)

Gets breakpoints for the specified group.

array
getGroups()

Gets all the existing breakpoint groups.

array
getGroupProviders(string $group)

Gets all the providers for the specified breakpoint group.

Details

BreakpointInterface[] getBreakpointsByGroup(string $group)

Gets breakpoints for the specified group.

Parameters

string $group

The breakpoint group to retrieve.

Return Value

BreakpointInterface[]

Array of breakpoint plugins keyed by machine name.

array getGroups()

Gets all the existing breakpoint groups.

Return Value

array

Array of breakpoint group labels. Keyed by group name.

array getGroupProviders(string $group)

Gets all the providers for the specified breakpoint group.

Parameters

string $group

The breakpoint group to retrieve.

Return Value

array

An array keyed by provider name with values of provider type (module or theme).