public function LayoutOption::setStructure in Bootstrap Layout Builder 1.x
Same name and namespace in other branches
- 2.x src/Entity/LayoutOption.php \Drupal\bootstrap_layout_builder\Entity\LayoutOption::setStructure()
Sets the structure.
Parameters
string $structure: The layout option structure.
Return value
$this The called layout option entity.
Overrides LayoutOptionInterface::setStructure
File
- src/
Entity/ LayoutOption.php, line 123
Class
- LayoutOption
- Defines the layout option entity class.
Namespace
Drupal\bootstrap_layout_builder\EntityCode
public function setStructure($structure) {
$this->structure = $structure;
return $this;
}