You are here

function tca_token_replace_callback in Token Content Access 7

Callback for "Regenerate Token" button.

Selects and returns the fieldset with the token up in it.

1 string reference to 'tca_token_replace_callback'
tca_form in ./tca.module
Form structure for the Token Content Access configuration.

File

./tca.module, line 346
The Token Content Access module file.

Code

function tca_token_replace_callback(&$form, &$form_state) {
  return $form['tca']['token'];
}