Download & Extend

Hook Form Alter to Adjust Activity Stream User Tab Field Settings?

Project:Activity Stream
Version:7.x-2.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I'm successfully using the 7.x dev version of activity stream on a site and I've written an addon module for tumblr for 7.x which is working (I will release it when I can refine it and test it more).

I'm trying to use hook form alter in a custom module to change some of the form attributes for the other addon modules (like activitystream_twitter or activitystream_flickr). I want to adjust some basic stuff on the user tab like

'#weight' => 5,
'#collapsible' => FALSE,
'#collapsed' => FALSE,

Which form should I alter? I tried using the following and it took the weight, but it seems the other properties are not available or being set elsewhere.

function mymodule_form_user_profile_form_alter(&$form, &$form_state){}
$form['activitystream_twitter'] = array(
'#weight' => 5,
'#collapsible' => FALSE,
'#collapsed' => FALSE,
);