You are here

public function LayoutOption::getStructureId 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::getStructureId()

Returns the structure id for select list options.

Return value

string The layout option structure.

Overrides LayoutOptionInterface::getStructureId

File

src/Entity/LayoutOption.php, line 141

Class

LayoutOption
Defines the layout option entity class.

Namespace

Drupal\bootstrap_layout_builder\Entity

Code

public function getStructureId() {
  return 'blb_col_' . str_replace(' ', '_', $this->structure);
}