theme_placeholder

Definition

theme_placeholder($text)
drupal/includes/theme.inc, line 374

Description

Formats text for emphasized display in a placeholder inside a sentence. Used automatically by t().

Parameters

$text The text to format (plain-text).

Return value

The formatted text (html).

Related topics

Namesort iconDescription
Themeable functionsFunctions that display HTML, and which can be customized by themes.

Code

function theme_placeholder($text) {
  return '<em>'. check_plain($text) .'</em>';
}