Overrides Drupal\Core\Entity::save().
Overrides Entity::save
public function save() {
// Only save the keys, but return the full objects.
if (isset($this->breakpointGroup) && is_object($this->breakpointGroup)) {
$this->breakpointGroup = $this->breakpointGroup
->id();
}
parent::save();
$this
->loadBreakpointGroup();
$this
->loadAllMappings();
}