You are here

forum_access_migrate.install in Forum Access 8

Forum Access migrate.

File

forum_access_migrate/forum_access_migrate.install
View source
<?php

/**
 * @file
 * Forum Access migrate.
 */

/**
 * Implements hook_install().
 */
function forum_access_migrate_install() {

  // TODO: WARNING: needs test!
  \Drupal::database()
    ->delete('forum_access')
    ->execute();
  node_access_rebuild();
}

Functions

Namesort descending Description
forum_access_migrate_install Implements hook_install().