You are here

UpdateDefinitionInterface.php in Update helper 2.x

Same filename and directory in other branches
  1. 8 src/UpdateDefinitionInterface.php

File

src/UpdateDefinitionInterface.php
View source
<?php

namespace Drupal\update_helper;


/**
 * The update definition represents update actions provided in YML file.
 *
 * @package Drupal\update_helper
 */
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';

}

Interfaces

Namesort descending Description
UpdateDefinitionInterface The update definition represents update actions provided in YML file.