theme_filter_guidelines

Versions
7
theme_filter_guidelines($variables)

Format guidelines for a text format.

Parameters

$variables An associative array containing:

  • format: An object representing a text format.

Related topics

Code

modules/filter/filter.module, line 845

<?php
function theme_filter_guidelines($variables) {
  $format = $variables['format'];

  $name = isset($format->name) ? '<label>' . $format->name . ':</label>' : '';
  return '<div id="filter-guidelines-' . $format->format . '" class="filter-guidelines-item">' . $name . theme('filter_tips', array('tips' => _filter_tips($format->format, FALSE))) . '</div>';
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.