You are here

Formatting in Drupal 10

Same name and namespace in other branches
  1. 8 core/includes/common.inc \format
  2. 4 includes/common.inc \format
  3. 5 includes/common.inc \format
  4. 6 includes/common.inc \format
  5. 7 includes/common.inc \format
  6. 9 core/includes/common.inc \format

Functions to format numbers, strings, dates, etc.

File

core/includes/common.inc, line 118
Common functions that many Drupal modules will need to reference.

Functions

Namesort descending Location Description
format_size core/includes/common.inc Generates a string representation for the given byte count.