You are here

public function LayoutOptionInterface::setLayoutId in Bootstrap Layout Builder 2.x

Same name and namespace in other branches
  1. 1.x src/LayoutOptionInterface.php \Drupal\bootstrap_layout_builder\LayoutOptionInterface::setLayoutId()

Sets the layout_id.

Parameters

int $layout_id: The layout option layout_id.

Return value

$this The called layout option entity.

1 method overrides LayoutOptionInterface::setLayoutId()
LayoutOption::setLayoutId in src/Entity/LayoutOption.php
Sets the layout_id.

File

src/LayoutOptionInterface.php, line 29

Class

LayoutOptionInterface
Provides an interface defining a layout option entity.

Namespace

Drupal\bootstrap_layout_builder

Code

public function setLayoutId($layout_id);