public function BootstrapLayout::setId in Bootstrap Layouts 8.4
Same name and namespace in other branches
- 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_layoutsCode
public function setId($id) {
  $this->data['id'] = $id;
  return $this;
}