Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (7 sloc) 152 Bytes

module_exists

Tests if a module is loaded in the current site.

{% if module_exists(module_something) %}
    {# do something #}
{% endif %}