Skip to main content
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
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
function.twig
<assets> <asset url="{{ some_func('path/to/asset', { 'name': 'my_asset' }) }}" /> </assets>
File
drupal/core/vendor/kriswallsmith/assetic/tests/Assetic/Test/Extension/Twig/templates/function.twig
View source
<assets>
<asset url="{{ some_func('path/to/asset', { 'name': 'my_asset' }) }}" />
</assets>