You are here

function _anonymous_publishing_cl_honeyfield_post_render in Anonymous Publishing 7

Class wrapper for honeyfield.

This will wrap the field in a div so it can be hidden with CSS. The wrapper class name is deliberately misleading. The wrapper class need to be set to display_none in css.

1 string reference to '_anonymous_publishing_cl_honeyfield_post_render'
_anonymous_publishing_cl_alter_comment_or_node_form in modules/cl/anonymous_publishing_cl.module
Helper function to make form alterations to input form.

File

modules/cl/anonymous_publishing_cl.module, line 32

Code

function _anonymous_publishing_cl_honeyfield_post_render($content, $element) {
  return '<div class="edit-email-confirm-wrapper">' . $content . '</div>';
}