function format_string

Formats a string for HTML display by replacing variable placeholders.

See also

\Drupal\Component\Utility\String::format()

t()

Related topics

331 calls to format_string()

File

drupal/core/includes/bootstrap.inc, line 1401
Functions that need to be loaded on every Drupal request.

Code

function format_string($string, array $args = array()) {
  return String::format($string, $args);
}