theme_text_format_wrapper

  1. drupal
    1. drupal7
Versionen
drupal7 theme_text_format_wrapper($element)

Return a themed text format form element.

Übergabeparameter

element An associative array containing the properties of the element. Properties used: children, description

Rückgabewert

A string representing the form element.

Verwandte Themen

Code

includes/form.inc, line 1933

<?php
function theme_text_format_wrapper($element) {
  $output = '<div class="text-format-wrapper">' . "\n";

  $output .= $element['#children'] . "\n";

  if (!empty($element['#description'])) {
    $output .= '<div class="description">' . $element['#description'] . "</div>\n";
  }

  $output .= "</div>\n";

  return $output;
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen