Link ====== Description ----------- The link content type allows to select different type of links, including links to internal entities like pages and external URLs. The content type can be limited to allow only specific link types and configured to show an ``anchor`` and a ``target`` field. The link content type can be extended with additional link types by :doc:`implementing a custom LinkProvider service<../../cookbook/link-provider>`. Parameters ---------- .. list-table:: :header-rows: 1 * - Parameter - Type - Description * - enable_target - bool - Enables the ``target`` input field in the overlay. Default: ``false`` * - enable_anchor - bool - Enables the ``anchor`` input field in the overlay. Default: ``false`` * - enable_title - bool - Enables the ``title`` input field in the overlay. Default: ``false`` * - types - collection - List of available types in the dropdown. Default: All registered link types Example ------- .. code-block:: xml Link Link Twig ---- .. code-block:: twig Click me Complex Example --------------- .. code-block:: xml Link Link Complex Twig ------------ .. code-block:: twig {{ view.link.title }}