The hook_app_predelete accepts a parameter -
&$form_state
I'm trying to extract the consumerKey like this:
$form_state['storage']['entity']->consumerKey
It doesn't work. Am I missing something?
Has anyone customized app_predelete?
@amit , Use below code to see the contents of $form_state, that will throw some light, hope it helps.
drupal_set_message("<pre>" . print_r($form_state, 1) . "</pre>");
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |