theme_placeholder

5 theme.inc theme_placeholder($text)
6 theme.inc theme_placeholder($text)

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

10 theme calls to theme_placeholder()

File

includes/theme.inc, line 380
The theme system, which controls the output of Drupal.

Code

function theme_placeholder($text) {
  return '<em>' . check_plain($text) . '</em>';
}
Login or register to post comments