Returns all categories in the system.

    <li><a href="{{ sulu_category_url_clear() }}">None</a></li>
    {% for category in sulu_categories('en', 'category_key') %}
        <li id="{{ category.key }}">
            <a href="{{ sulu_category_url(category) }}">{{ }}</a>
    {% endfor %}


  • locale: If item is not in the same locale as current content (optional)

  • parentKey: If only specific categories should be loaded set a parent category key (optional)

Returns: array - array of serialized Category instances