public function BootstrapLayoutsUpdateInterface::processExistingLayout in Bootstrap Layouts 8.5
Same name and namespace in other branches
- 8.4 src/Plugin/BootstrapLayouts/BootstrapLayoutsUpdateInterface.php \Drupal\bootstrap_layouts\Plugin\BootstrapLayouts\BootstrapLayoutsUpdateInterface::processExistingLayout()
Provide an update for an existing layout.
Note: this process any existing layout and is not specific to just "Bootstrap Layouts" based layouts. If implementing this update, you should check the $layout->getId() before performing any tasks.
Parameters
\Drupal\bootstrap_layouts\BootstrapLayout $layout: The existing BootstrapLayout instance that is being processed.
array $data: Any static YAML data found for the update.
bool $display_messages: Flag determining whether a message will be displayed indicating whether the layout was processed successfully or not.
See also
\Drupal\bootstrap_layouts\BootstrapLayoutsManager::update()
1 method overrides BootstrapLayoutsUpdateInterface::processExistingLayout()
- BootstrapLayoutsUpdateBase::processExistingLayout in src/
Plugin/ BootstrapLayouts/ BootstrapLayoutsUpdateBase.php - Provide an update for an existing layout.
File
- src/
Plugin/ BootstrapLayouts/ BootstrapLayoutsUpdateInterface.php, line 53
Class
Namespace
Drupal\bootstrap_layouts\Plugin\BootstrapLayoutsCode
public function processExistingLayout(BootstrapLayout $layout, array $data = [], $display_messages = TRUE);