You are here

public function AccessControlKitHandlerInterface::settingsForm in Access Control Kit 7

Returns the form elements needed to configure the handler.

Return value

array An array of form elements, or an empty array() if the handler does not require configuration. Similar to the way system_settings_form() works in Drupal core, the form values generated by this form on submission will become associative values in the handler's settings array (that is the $settings parameter to AccessControlKitHandlerInterface::__construct()). Also note that the returned form elements will be wrapped in a parent element that has its '#tree' value set to TRUE when this method is called by the ACK UI, so form structure will be retained in the settings array.

See also

system_settings_form()

system_settings_form_submit()

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

File

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

Class

AccessControlKitHandlerInterface
Interface for an object access handler.

Code

public function settingsForm();