You are here

public function ACKNodeAuthor::objectRealms in Access Control Kit 7

Overrides AccessControlKitHandler::objectRealms().

Overrides AccessControlKitHandler::objectRealms

File

ack_node/handlers/ack_node_author.inc, line 23
Contains the handler class for the author property on nodes.

Class

ACKNodeAuthor
Controls access to a node based on its author.

Code

public function objectRealms($object_type, $node) {
  return array(
    $node->uid,
  );
}