workbench_access_hooks.module in Workbench Access 8
File
tests/modules/workbench_access_hooks/workbench_access_hooks.moduleView source
<?php
use Drupal\Core\Config\Config;
/**
* Implements hook_workbench_access_scheme_update_alter().
*/
function workbench_access_hooks_workbench_access_scheme_update_alter(array &$settings, Config $config) {
if ($config
->get('scheme')) {
$settings = [
'test' => 'test',
];
}
}
Functions
Name | Description |
---|---|
workbench_access_hooks_workbench_access_scheme_update_alter | Implements hook_workbench_access_scheme_update_alter(). |