.. include:: ../../Includes.txt .. _fields-slug: Slug ==== .. figure:: ../../Images/FieldTypes/Slug.svg :alt: Slug :class: float-left :width: 64px The slug field can create a unique identifier per content element, which can be used for the HTML id property or other use cases. .. rst-class:: clear-both .. code-block:: php 'type' => 'slug' .. figure:: ../../Images/FieldTypes/SlugPreview.png :alt: Slug field :class: with-border Slug field Available TCA options --------------------- * :ref:`config.eval.slug ` * :ref:`config.generatorOptions.fields ` * :ref:`config.generatorOptions.replacements ` * :ref:`config.generatorOptions.fieldSeparator ` * :ref:`config.fallbackCharacter ` * :ref:`config.prependSlash ` See a complete overview of Slug TCA options in the :ref:`official documentation `.