You are here

public function AccessControlKitHandlerInterface::viewsDataAlter in Access Control Kit 7

Relates realm field values to access-controlled objects for Views.

Parameters

array &$data: The Views data array, passed in from hook_views_data_alter().

string $scheme_machine_name: The machine name of the scheme to which the handler is attached.

string $realm_field_table_name: The name of the realm field table.

string $realm_field_table_value: The name of the column that contains the realm value.

string $object_type: A string indicating the type of $object (e.g., node, menu_link).

1 method overrides AccessControlKitHandlerInterface::viewsDataAlter()
AccessControlKitHandler::viewsDataAlter in ./ack_handler.inc
Implements AccessControlKitHandlerInterface::viewsDataAlter().

File

./ack_handler.inc, line 183
Contains the access control kit handler interface and base class.

Class

AccessControlKitHandlerInterface
Interface for an object access handler.

Code

public function viewsDataAlter(&$data, $scheme_machine_name, $realm_field_table_name, $realm_field_table_value, $object_type);