public function LayoutBuilderStyle::getType in Layout Builder Styles 8
Returns the type of LB item this applies to: "section" or "component".
Return value
string Either "section" or "component".
Overrides LayoutBuilderStyleInterface::getType
File
- src/
Entity/ LayoutBuilderStyle.php, line 114
Class
- LayoutBuilderStyle
- Defines the LayoutBuilderStyle config entity.
Namespace
Drupal\layout_builder_styles\EntityCode
public function getType() {
return $this->type;
}