public function AccessControlKitHandlerInterface::objectFormValidate in Access Control Kit 7
Performs additional validation on an access-controlled object's form.
It is up to the handler module to invoke this method as needed by adding an additional validation function to the form (using hook_form_alter()).
Parameters
string $object_type: A string indicating the type of $object (e.g., node, menu_link).
mixed $object: The access-controllable object represented by this form.
array $form: The form structure. This can be a full form structure, or a sub-element of a larger form.
array &$form_state: An associative array containing the current state of the form.
See also
AccessControlKitHandlerInterface::objectFormAlter()
1 method overrides AccessControlKitHandlerInterface::objectFormValidate()
File
- ./
ack_handler.inc, line 147 - Contains the access control kit handler interface and base class.
Class
- AccessControlKitHandlerInterface
- Interface for an object access handler.
Code
public function objectFormValidate($object_type, $object, $form, &$form_state);