interface BootstrapLayoutsUpdateInterface in Bootstrap Layouts 8.4
Same name and namespace in other branches
- 8.5 src/Plugin/BootstrapLayouts/BootstrapLayoutsUpdateInterface.php \Drupal\bootstrap_layouts\Plugin\BootstrapLayouts\BootstrapLayoutsUpdateInterface
Hierarchy
- interface \Drupal\Core\Plugin\ContainerFactoryPluginInterface; interface \Drupal\Component\Plugin\DerivativeInspectionInterface; interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\bootstrap_layouts\Plugin\BootstrapLayouts\BootstrapLayoutsUpdateInterface extends \Symfony\Component\DependencyInjection\ContainerAwareInterface
Expanded class hierarchy of BootstrapLayoutsUpdateInterface
All classes that implement BootstrapLayoutsUpdateInterface
File
- src/
Plugin/ BootstrapLayouts/ BootstrapLayoutsUpdateInterface.php, line 12
Namespace
Drupal\bootstrap_layouts\Plugin\BootstrapLayoutsView source
interface BootstrapLayoutsUpdateInterface extends ContainerAwareInterface, ContainerFactoryPluginInterface, DerivativeInspectionInterface, PluginInspectionInterface {
/**
* Retrieves the path to plugin provider.
*
* @return string
* Path to the plugin provider.
*/
public function getPath();
/**
* Provide an update.
*
* @param \Drupal\bootstrap_layouts\BootstrapLayoutsManager $manager
* The BootstrapLayoutsManager instance.
* @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.
*/
public function update(BootstrapLayoutsManager $manager, array $data = [], $display_messages = TRUE);
/**
* 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.
*
* @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);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BootstrapLayoutsUpdateInterface:: |
public | function | Retrieves the path to plugin provider. | 1 |
BootstrapLayoutsUpdateInterface:: |
public | function | Provide an update for an existing layout. | 1 |
BootstrapLayoutsUpdateInterface:: |
public | function | Provide an update. | 1 |
ContainerFactoryPluginInterface:: |
public static | function | Creates an instance of the plugin. | 112 |
DerivativeInspectionInterface:: |
public | function | Gets the base_plugin_id of the plugin instance. | 1 |
DerivativeInspectionInterface:: |
public | function | Gets the derivative_id of the plugin instance. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |