You are here

interface UpdateDefinitionInterface in Update helper 2.x

Same name and namespace in other branches
  1. 8 src/UpdateDefinitionInterface.php \Drupal\update_helper\UpdateDefinitionInterface

The update definition represents update actions provided in YML file.

@package Drupal\update_helper

Hierarchy

Expanded class hierarchy of UpdateDefinitionInterface

All classes that implement UpdateDefinitionInterface

File

src/UpdateDefinitionInterface.php, line 10

Namespace

Drupal\update_helper
View source
interface UpdateDefinitionInterface {

  /**
   * Special CUD key used by update helper to make global system changes.
   *
   * Current provided global actions are "install_modules" and "import_configs".
   */
  const GLOBAL_ACTIONS = '__global_actions';

  /**
   * Global action key for installing modules.
   */
  const GLOBAL_ACTION_INSTALL_MODULES = 'install_modules';

  /**
   * Global action key for importing configurations.
   */
  const GLOBAL_ACTION_IMPORT_CONFIGS = 'import_configs';

}

Members

Namesort descending Modifiers Type Description Overrides
UpdateDefinitionInterface::GLOBAL_ACTIONS constant Special CUD key used by update helper to make global system changes.
UpdateDefinitionInterface::GLOBAL_ACTION_IMPORT_CONFIGS constant Global action key for importing configurations.
UpdateDefinitionInterface::GLOBAL_ACTION_INSTALL_MODULES constant Global action key for installing modules.