Your IP : 216.73.216.220


Current Path : /var/www/surf/TYPO3/vendor/mask/mask/Documentation/Fieldtypes/Type/
Upload File :
Current File : /var/www/surf/TYPO3/vendor/mask/mask/Documentation/Fieldtypes/Type/Category.rst

.. include:: ../../Includes.txt

.. _fields-category:

Category
========

.. important::

   Only available for TYPO3 v11 or higher

.. figure:: ../../Images/FieldTypes/Category.svg
   :alt: Check
   :class: float-left
   :width: 64px

The category type creates relations to the system category (sys_category) table field.

.. rst-class::  clear-both

.. code-block:: php

   'type' => 'category'

.. figure:: ../../Images/FieldTypes/CategoryPreview.png
   :alt: Category field
   :class: with-border

   Category field

Available TCA options
---------------------

*  :ref:`config.default <t3tca:columns-check-properties-default>`
*  :ref:`config.relationship <t3tca:columns-category-properties-relationship>`
*  :ref:`config.treeConfig.startingPoints <t3tca:columns-category-properties-treeconfig>`
*  :ref:`config.minitems <t3tca:tca_property_minitems>`
*  :ref:`config.maxitems <t3tca:tca_property_maxitems>`
*  :ref:`config.exclusiveKeys <t3tca:columns-category-properties-exclusivekeys>`
*  :ref:`config.treeConfig.appearance.showHeader <t3tca:columns-category-properties-treeconfig>`
*  :ref:`config.treeConfig.appearance.expandAll <t3tca:columns-category-properties-treeconfig>`
*  :ref:`config.treeConfig.appearance.nonSelectableLevels <t3tca:columns-category-properties-treeconfig>`
*  :ref:`config.behaviour.allowLanguageSynchronization <t3tca:tca_property_behaviour_allowLanguageSynchronization>`
*  :ref:`config.size <t3tca:tca_property_size>`

See a complete overview of Category TCA options in the :ref:`official documentation <t3tca:columns-category>`.