abstract class DatabaseUpdateHandlerPluginBase in Automatic Updates 8
Base class for database_update_handler plugins.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\automatic_updates\DatabaseUpdateHandlerPluginBase implements DatabaseUpdateHandlerInterface
Expanded class hierarchy of DatabaseUpdateHandlerPluginBase
5 files declare their use of DatabaseUpdateHandlerPluginBase
- ExecuteUpdates.php in src/
Plugin/ DatabaseUpdateHandler/ ExecuteUpdates.php - IgnoreUpdates.php in src/
Plugin/ DatabaseUpdateHandler/ IgnoreUpdates.php - MaintenanceModeActivate.php in src/
Plugin/ DatabaseUpdateHandler/ MaintenanceModeActivate.php - MaintenanceModeDisactivate.php in src/
Plugin/ DatabaseUpdateHandler/ MaintenanceModeDisactivate.php - RollbackUpdate.php in src/
Plugin/ DatabaseUpdateHandler/ RollbackUpdate.php
File
- src/
DatabaseUpdateHandlerPluginBase.php, line 10
Namespace
Drupal\automatic_updatesView source
abstract class DatabaseUpdateHandlerPluginBase extends PluginBase implements DatabaseUpdateHandlerInterface {
/**
* {@inheritdoc}
*/
public function label() {
return $this->pluginDefinition['label'];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DatabaseUpdateHandlerInterface:: |
public | function | Handle database updates. | 5 |
DatabaseUpdateHandlerPluginBase:: |
public | function |
Returns the translated plugin label. Overrides DatabaseUpdateHandlerInterface:: |
|
PluginBase:: |
protected | property | Configuration information passed into the plugin. | 1 |
PluginBase:: |
protected | property | The plugin implementation definition. | 1 |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
3 |
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. | |
PluginBase:: |
public | function | Constructs a \Drupal\Component\Plugin\PluginBase object. | 92 |