Skip to main content
Home
Hostdog docs
Documentation & API reference

Main menu

  • Drupal 7
  • Drupal 8
  • Drupal 9

You are here

Home » API reference » Drupal 9.x

Search Drupal 9.x

Partial match search is supported

API Navigation

  • Drupal 9.x
  • Topics
  • Classes
  • Functions
  • Files
  • Namespaces
  • Constants
  • Globals
  • Deprecated

special_chars.test

Same filename in this branch
  1. 9.x drupal/core/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/special_chars.test
  2. 9.x drupal/core/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/special_chars.test
  3. 9.x drupal/core/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/special_chars.test
  4. 9.x drupal/core/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/macro/special_chars.test
  5. 9.x drupal/core/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/block/special_chars.test

File

drupal/core/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/special_chars.test
View source
--TEST--
"☃" custom function
--TEMPLATE--
{{ ☃('foo') }}
--DATA--
return array()
--EXPECT--
☃foo☃