You are here

public function BootstrapLayout::setId in Bootstrap Layouts 8.4

Same name and namespace in other branches
  1. 8.5 src/BootstrapLayout.php \Drupal\bootstrap_layouts\BootstrapLayout::setId()

Sets the layout identifier.

Parameters

string $id: The layout identifier.

Return value

\Drupal\bootstrap_layouts\BootstrapLayout The current BootstrapLayout instance.

File

src/BootstrapLayout.php, line 159

Class

BootstrapLayout
Class BootstrapLayout.

Namespace

Drupal\bootstrap_layouts

Code

public function setId($id) {
  $this->data['id'] = $id;
  return $this;
}