X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fbootstrap_layouts%2Fsrc%2FPlugin%2FBootstrapLayouts%2FBootstrapLayoutsUpdateInterface.php;fp=web%2Fmodules%2Fcontrib%2Fbootstrap_layouts%2Fsrc%2FPlugin%2FBootstrapLayouts%2FBootstrapLayoutsUpdateInterface.php;h=ff8e99ecc0881171f580976f71be5809358aa76c;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/modules/contrib/bootstrap_layouts/src/Plugin/BootstrapLayouts/BootstrapLayoutsUpdateInterface.php b/web/modules/contrib/bootstrap_layouts/src/Plugin/BootstrapLayouts/BootstrapLayoutsUpdateInterface.php new file mode 100644 index 000000000..ff8e99ecc --- /dev/null +++ b/web/modules/contrib/bootstrap_layouts/src/Plugin/BootstrapLayouts/BootstrapLayoutsUpdateInterface.php @@ -0,0 +1,55 @@ +getId() before performing any tasks. + * + * @param \Drupal\bootstrap_layouts\BootstrapLayout $layout + * The existing BootstrapLayout instance that is being processed. + * @param array $data + * Any static YAML data found for the update. + * @param bool $display_messages + * Flag determining whether a message will be displayed indicating whether + * the layout was processed successfully or not. + * + * @see \Drupal\bootstrap_layouts\BootstrapLayoutsManager::update() + */ + public function processExistingLayout(BootstrapLayout $layout, array $data = [], $display_messages = TRUE); + +}