You are here

public function BootstrapLayoutsHandlerInterface::saveInstance in Bootstrap Layouts 8.4

Same name and namespace in other branches
  1. 8.5 src/Plugin/BootstrapLayouts/BootstrapLayoutsHandlerInterface.php \Drupal\bootstrap_layouts\Plugin\BootstrapLayouts\BootstrapLayoutsHandlerInterface::saveInstance()

Saves a specific layout instance.

Parameters

string|int $id: The identifier to save.

\Drupal\bootstrap_layouts\BootstrapLayout $layout: The layout instance info array.

Throws

\Drupal\Core\Entity\EntityStorageException In case of failures an exception is thrown.

1 method overrides BootstrapLayoutsHandlerInterface::saveInstance()
BootstrapLayoutsHandlerBase::saveInstance in src/Plugin/BootstrapLayouts/BootstrapLayoutsHandlerBase.php
Saves a specific layout instance.

File

src/Plugin/BootstrapLayouts/BootstrapLayoutsHandlerInterface.php, line 58

Class

BootstrapLayoutsHandlerInterface
Interface BootstrapLayoutsHandlerInterface

Namespace

Drupal\bootstrap_layouts\Plugin\BootstrapLayouts

Code

public function saveInstance($id, BootstrapLayout $layout);