public function LayoutParagraphsComponent::isLayout in Layout Paragraphs 2.0.x
Returns true if this component has a layout applied.
Return value
bool True if is layout.
File
- src/
LayoutParagraphsComponent.php, line 66
Class
- LayoutParagraphsComponent
- Provides a domain object for a single Layout Paragraphs Component.
Namespace
Drupal\layout_paragraphsCode
public function isLayout() {
return !empty($this
->getSetting('layout'));
}