Function Hook_addon_registry_sms->install

Definitions

sources/hooks/systems/addon_registry/sms.php

  • Install the addon.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$upgrade_major_minor ?float No No Null N/A N/A From what major/minor version we are upgrading (null: new install)
$upgrade_patch ?integer No No Null N/A N/A From what patch version of $upgrade_major_minor we are upgrading (null: new install)

Preview

Code (PHP)

/**
 * Install the addon.
 *
 * @param  ?float $upgrade_major_minor From what major/minor version we are upgrading (null: new install)
 * @param  ?integer $upgrade_patch From what patch version of $upgrade_major_minor we are upgrading (null: new install)
 */

public function install(?float $upgrade_major_minor = null, ?int $upgrade_patch = null)