public function BreakpointGroup::isEditable in Breakpoints 8
Is the breakpoint group editable.
File
- lib/
Drupal/ breakpoint/ BreakpointGroup.php, line 200 - Definition of Drupal\breakpoint\BreakpointGroup.
Class
- BreakpointGroup
- Defines the BreakpointGroup entity.
Namespace
Drupal\breakpointCode
public function isEditable() {
// Custom breakpoint groups are always editable.
if ($this->sourceType == Breakpoint::SOURCE_TYPE_CUSTOM) {
return TRUE;
}
// Overridden breakpoints groups are editable.
if ($this->overridden) {
return TRUE;
}
return FALSE;
}