URL
===
Description
-----------
Shows a text line, the inserted content will be validated against an URL regex
and saved as a simple string.
Parameters
----------
.. list-table::
:header-rows: 1
* - Parameter
- Type
- Description
* - defaults
- collection
- Default values for input (scheme and specificPart).
* - schemes
- collection
- List of available schemes in dropdown and validation.
Defaults are: ``https://``, ``http://``, ``ftp://``, ``ftps``, ``mailto:``, ``tel:``.
Example
-------
.. code-block:: xml
URL
Extended Example
----------------
.. code-block:: xml
URL
Twig
----
The content type returns the full url which can be rendered directly:
.. code-block:: twig
{{ content.url }}