function drupal_strtoupper

Uppercase a UTF-8 string.

Parameters

$text: The string to run the operation on.

Return value

string The string in uppercase.

See also

\Drupal\Component\Utility\Unicode::strtoupper().

Related topics

5 calls to drupal_strtoupper()
HandlerBase::caseTransform in drupal/core/modules/views/lib/Drupal/views/Plugin/views/HandlerBase.php
Transform a string by a certain method.
HtmlToTextTest::testDrupalHtmlToTextBlockTagToNewline in drupal/core/modules/system/lib/Drupal/system/Tests/Mail/HtmlToTextTest.php
Test that text separated by block-level tags in HTML get separated by (at least) a newline in the plaintext version.
Schema::processField in drupal/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php
Set database-engine specific properties for a field.
Schema::processField in drupal/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php
Set database-engine specific properties for a field.
TableSortExtender::orderByHeader in drupal/core/lib/Drupal/Core/Database/Query/TableSortExtender.php
Order the query based on a header array.
1 string reference to 'drupal_strtoupper'
drupal_html_to_text in drupal/core/includes/mail.inc
Transforms an HTML string into plain text, preserving its structure.

File

drupal/core/includes/unicode.inc, line 272
Provides Unicode-related conversions and operations.

Code

function drupal_strtoupper($text) {
  return Unicode::strtoupper($text);
}