You are here

public function ACKNodeSticky::objectRealms in Access Control Kit 7

Overrides AccessControlKitHandler::objectRealms().

Overrides AccessControlKitHandler::objectRealms

File

ack_node/handlers/ack_node_sticky.inc, line 23
Contains the handler class for the "sticky" flag on nodes.

Class

ACKNodeSticky
Controls access to a node based on its "sticky" property.

Code

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