function theme_filter_guidelines

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 filter.module theme_filter_guidelines($variables)
cle7 filter.module theme_filter_guidelines($variables)
elmsmedia7 filter.module theme_filter_guidelines($variables)
icor7 filter.module theme_filter_guidelines($variables)
meedjum_blog7 filter.module theme_filter_guidelines($variables)
mooc7 filter.module theme_filter_guidelines($variables)

Returns HTML for guidelines for a text format.

Parameters

$variables: An associative array containing:

  • format: An object representing a text format.

Related topics

2 string references to the theme hook from theme_filter_guidelines()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

filter_process_format in modules/filter/filter.module
Expands an element into a base element with text format selector attached.
filter_theme in modules/filter/filter.module
Implements hook_theme().

File

modules/filter/filter.module, line 1197
Framework for handling the filtering of content.

Code

function theme_filter_guidelines($variables) {
  $format = $variables['format'];
  $attributes['class'][] = 'filter-guidelines-item';
  $attributes['class'][] = 'filter-guidelines-' . $format->format;
  $output = '<div' . drupal_attributes($attributes) . '>';
  $output .= '<h3>' . check_plain($format->name) . '</h3>';
  $output .= theme('filter_tips', array('tips' => _filter_tips($format->format, FALSE)));
  $output .= '</div>';
  return $output;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.