public function TocFormatterInterface::convertNumberToLetter in TOC API 8
Convert a number to a letter.
References:
- Transform the numbers to letters using php http://stackoverflow.com/questions/18185642
Parameters
int $number: A number.
Return value
string The number converted to a letter.
1 method overrides TocFormatterInterface::convertNumberToLetter()
- TocFormatter::convertNumberToLetter in src/
TocFormatter.php - Convert a number to a letter.
File
- src/
TocFormatterInterface.php, line 76
Class
- TocFormatterInterface
- Provides an interface defining a TOC formatter.
Namespace
Drupal\toc_apiCode
public function convertNumberToLetter($number);