You are here

masquerade.install in Masquerade 8.2

Same filename and directory in other branches
  1. 5 masquerade.install
  2. 6 masquerade.install
  3. 7 masquerade.install

Install, uninstall, and update hooks for the Masquerade module.

File

masquerade.install
View source
<?php

/**
 * @file
 * Install, uninstall, and update hooks for the Masquerade module.
 */

/**
 * Remove the {masquerade} table.
 */
function masquerade_update_8200() {
  $schema = \Drupal::database()
    ->schema();
  if ($schema
    ->tableExists('masquerade')) {
    $schema
      ->dropTable('masquerade');
  }
}

Functions

Namesort descending Description
masquerade_update_8200 Remove the {masquerade} table.