<p dir="ltr">At the top of my head, I would all the arrays to an array and count the number of arrays of which #type is 'button' or 'submit'.</p>
<div class="gmail_quote">On 23 Jul 2014 17:32, "Nancy Wichmann" <<a href="mailto:nan_wich@bellsouth.net">nan_wich@bellsouth.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:14pt"><div>I'm using hook_field_extra_fields() to add some buttons to a node. If there is more than one button, I want to enclose them in a wrapper for theme placement. So far, I'm drawing a blank on how to do this.<br>
</div></div></div><br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div>