You are here

public function BootstrapLayout::setPath in Bootstrap Layouts 8.4

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

Sets the path to the layout.

Parameters

string $path: The path to the layout.

Return value

string|null

File

src/BootstrapLayout.php, line 172

Class

BootstrapLayout
Class BootstrapLayout.

Namespace

Drupal\bootstrap_layouts

Code

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