You are here

function quickedit_wrap_pseudofield in Quick Edit 7

Wraps the name pseudo-field attached to nodes.

Parameters

$name: The existing name value.

$quickedit_field_id: The in-place editing field ID.

$is_inline: Whether this pseudofield should be rendered as display:inline or not.

Return value

The fully-themed HTML output for the wrapped "name" pseudo-field.

4 calls to quickedit_wrap_pseudofield()
quickedit_preprocess_node in ./quickedit.module
Implements hook_preprocess_node().
quickedit_preprocess_page in ./quickedit.module
Implements hook_preprocess_page().
quickedit_preprocess_panels_pane in ./quickedit.module
Implements hook_preprocess_panels_pane().
_quickedit_render_field in includes/pages.inc
Renders a field.

File

./quickedit.module, line 767
Provides in-place content editing functionality for fields.

Code

function quickedit_wrap_pseudofield($value, $quickedit_field_id, $is_inline = FALSE) {
  return theme('quickedit_wrap_field', array(
    'value' => $value,
    'quickedit_field_id' => $quickedit_field_id,
    'inline' => $is_inline,
  ));
}