I have a form_alter hook on views_exposed_form that's trying to adjust how many options are displayed for multiple select fields. Somewhere between that function and theme_select(), though, the "#size" attribute is disappearing. I can set "#attributes" to include a value for 'size', I can add other arbitrary key values to the element like "#test", so I know the form_alter function is being called. I don't see any explicit references to "#size" in core code or in the Better Exposed Filters module that seem like likely culprits. So I guess the whole array is being recreated somewhere?
Looking for ideas on how to find out what's going on here. Thanks.
Recent comments
https://www.drupal.org/project/views/issues/1266388 shows that this is an architectural issue, and requires another 2 hooks being adjusted. It would be really nice to add comments/notes to...
node access
Hmmm, from D7 ancient tomes: from https://drupal.stackexchange.com/questions/7056/limit-which-roles-can-view-a-node-basing-on-its-content-type yet https://docs.backdropcms.org/api/...
node access
I also note on this screen: "Furthermore note that content which is not published is treated in a different way by Backdrop: it can be viewed only by its author or users with the...
node access
I am seeing via dpm debug that the nodes that are authored by someone else are not even being interrogated at the view level; they are simply avoiding the hook_node_access call. Yet the...
node access
One suggestion would be to "fail early". It looks like if the user does not have the organisation field set, none of the other code matters. if ($role == "organisation") { $u = user_load($...
node access