public function BootstrapLayout::setRegion in Bootstrap Layouts 8.4
Same name and namespace in other branches
- 8.5 src/BootstrapLayout.php \Drupal\bootstrap_layouts\BootstrapLayout::setRegion()
Sets a specific layout region.
Parameters
string $name: The layout region name.
mixed $value: The layout region value.
Return value
\Drupal\bootstrap_layouts\BootstrapLayout The current BootstrapLayout instance.
File
- src/
BootstrapLayout.php, line 188
Class
- BootstrapLayout
- Class BootstrapLayout.
Namespace
Drupal\bootstrap_layoutsCode
public function setRegion($name, $value = NULL) {
$this->data['regions'][$name] = $value;
return $this;
}