function config_entity_revisions_module_implements_alter in Config Entity Revisions 8.2
Implements hook_module_implements_alter().
Remove the content moderation hook, which will choke on a config entity. We implement a more generic version above.
File
- ./
config_entity_revisions.module, line 66 - Config entity revisions procedural hooks.
Code
function config_entity_revisions_module_implements_alter(&$implementations, $hook) {
if ($hook !== 'entity_access') {
return;
}
unset($implementations['content_moderation']);
}