You are here

public function BootstrapLayoutsUpdateBase::processExistingLayout in Bootstrap Layouts 8.4

Same name and namespace in other branches
  1. 8.5 src/Plugin/BootstrapLayouts/BootstrapLayoutsUpdateBase.php \Drupal\bootstrap_layouts\Plugin\BootstrapLayouts\BootstrapLayoutsUpdateBase::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.

Overrides BootstrapLayoutsUpdateInterface::processExistingLayout

See also

\Drupal\bootstrap_layouts\BootstrapLayoutsManager::update()

2 methods override BootstrapLayoutsUpdateBase::processExistingLayout()
BootstrapLayoutsUpdate8401::processExistingLayout in src/Plugin/BootstrapLayouts/Updates/BootstrapLayoutsUpdate8401.php
Provide an update for an existing layout.
BootstrapLayoutsUpdate8402::processExistingLayout in src/Plugin/BootstrapLayouts/Updates/BootstrapLayoutsUpdate8402.php
Provide an update for an existing layout.

File

src/Plugin/BootstrapLayouts/BootstrapLayoutsUpdateBase.php, line 59

Class

BootstrapLayoutsUpdateBase

Namespace

Drupal\bootstrap_layouts\Plugin\BootstrapLayouts

Code

public function processExistingLayout(BootstrapLayout $layout, array $data = [], $display_messages = TRUE) {
}