You are here

function node_authlink_group_content_info_alter in Node authorize link 8

Implements hook_group_content_info_alter().

File

./node_authlink.module, line 491
Node Authlink hooks and alters.

Code

function node_authlink_group_content_info_alter(array &$groupContentInfo) {

  // Override the access control handler so authlink can operate first.
  foreach ($groupContentInfo as &$info) {
    $info['handlers']['access'] = NodeAuthlinkGroupContentAccessControlHandler::class;
  }
}