sulu-link ========= The sulu-link tag allows to link to pages and other entities in the application by their id. This id of the tag will be validated and replaced by a proper anchor tag when a response is generated. In a basic installation, the tag supports 2 different providers: ``page`` (default) and ``media``. Additional providers can be implemented by :doc:`registering a service with the sulu.link.provider tag<../../cookbook/link-provider>`. Example ------- .. code-block:: html Link Text Anchor Example Link Text Link Text **Results into:** .. code-block:: html Page Title Page Title Link Text Anchor Example Link Text Media Title Link Text How the tag is processed ------------------------ The ```` tag is processed after the response content is generated and before it is sent to the client. A parser detects all links and loads the paths of all linked pages from the PHPCR in a *single* query. If a twig function would be used to generate the links, each call would trigger a request to the PHPCR which would worsen the performance.