public function LayoutParagraphsComponent::isDisabled in Layout Paragraphs 2.0.x
Returns true if disabled.
Return value
bool True if disabled.
1 call to LayoutParagraphsComponent::isDisabled()
- LayoutParagraphsComponent::isRoot in src/
LayoutParagraphsComponent.php - A "root" component is rendered at the top level.
File
- src/
LayoutParagraphsComponent.php, line 86
Class
- LayoutParagraphsComponent
- Provides a domain object for a single Layout Paragraphs Component.
Namespace
Drupal\layout_paragraphsCode
public function isDisabled() {
return $this
->getSetting('region') == '_disabled';
}