You are here

function readonlymode_module_implements_alter in Read only mode 7

Implements hook_module_implements_alter().

Make sure our form alter runs last.

File

./readonlymode.module, line 37
The Read Ony Mode main module file.

Code

function readonlymode_module_implements_alter(&$implementations, $hook) {
  if ($hook == 'form_alter') {
    $group = $implementations['readonlymode'];
    unset($implementations['readonlymode']);
    $implementations['readonlymode'] = $group;
  }
}