4.6.x theme.inc theme_placeholder($text)
4.7.x theme.inc theme_placeholder($text)
5.x theme.inc theme_placeholder($text)
6.x theme.inc theme_placeholder($text)

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


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

Return value

The formatted text (html).

Related topics

4 theme calls to theme_placeholder()
node_revision_overview in modules/node/node.pages.inc
Generate an overview table of older revisions of a node.
profile_browse in modules/profile/profile.pages.inc
Menu callback; display a list of user information.
theme_update_report in modules/update/update.report.inc
Theme project status report.
_db_error_page in includes/database.inc
Helper function to show fatal database errors.


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


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


pkiraly’s picture

In D7, the function became drupal_placeholder