You are here

public function PictureMapping::setBreakpointGroup in Picture 7.2

Set the breakpoint group.

1 call to PictureMapping::setBreakpointGroup()
PictureMapping::__set in includes/PictureMapping.php
Is run when writing data to inaccessible properties.

File

includes/PictureMapping.php, line 308
Picture Mapping class.

Class

PictureMapping
Picture mapping class.

Code

public function setBreakpointGroup($breakpoint_group) {
  if (!$this
    ->getBreakpointGroup() || $breakpoint_group != $this
    ->getBreakpointGroup()->name) {
    $this->breakpoint_group = $breakpoint_group;
    $this
      ->loadBreakpointGroup();
    $this
      ->loadAllMappings();
  }
}