You are here

public function LayoutOption::setStructure in Bootstrap Layout Builder 2.x

Same name and namespace in other branches
  1. 1.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 133

Class

LayoutOption
Defines the layout option entity class.

Namespace

Drupal\bootstrap_layout_builder\Entity

Code

public function setStructure($structure) {
  $this->structure = $structure;
  return $this;
}