Skip to content

Commit

Permalink
[TASK] Move note about auto-generated slug db field
Browse files Browse the repository at this point in the history
The note is moved to the start page of the type to be consistent with
the other types (which have sometimes no example page). Additionally,
a link to more information about this in TYPO3 Explained is added.

Releases: main, 12.4
  • Loading branch information
brotkrueml authored and github-actions[bot] committed Oct 10, 2023
1 parent b3871cb commit 5968bb5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Documentation/ColumnsConfig/Type/Slug/Examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
Examples
========

.. versionadded:: 12.0
When using the `slug` type, TYPO3 takes care of generating the according
database field. A developer does not need to define this field in an
extension's :file:`ext_tables.sql` file.

.. _tca_example_slug_1:

Slug field
Expand Down
6 changes: 6 additions & 0 deletions Documentation/ColumnsConfig/Type/Slug/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
Slugs / URL parts
=================

.. versionadded:: 12.0
When using the `slug` type, TYPO3 takes care of
:ref:`generating the according database field <t3coreapi:auto-generated-db-structure>`.
A developer does not need to define this field in an extension's
:file:`ext_tables.sql` file.

The main purpose of this type is to define parts of a URL path to generate and
resolve URLs.

Expand Down

0 comments on commit 5968bb5

Please sign in to comment.