Configuration values (confval)
The 
        confval directive can be used to document configuration values
in a structured way, independent of the programming language.
In a TYPO3 context, it can be used to document configuration values
stored in PHP arrays (TCA, global configuration variables),
TypoScript (TypoScript setup, TSconfig), XML (FlexForms, XLIFF) and
YAML (SiteConfiguration, EXT:form).
Using the 
        confval directive has several benefits:
- The display is independent of the language of the configuration value – for example, unlike PHP domain.
- You can link directly to configuration values.
- The content element presents the data and its attributes in a well-structured way.
Each configuration value name may only be used once. In large references with different contexts you can define individual configuration schemas for each context.
Table of contents
Examples
Required configuration value
label
- 
                            - Type
- string or LLL reference
- Required
- true 
 The name of the field as shown in the form. 
..  confval:: label
    :name: some-unique-label
    :required: true
    :type: string or LLL reference
    The name of the field as shown in the form.Example: Configuration value with default value and custom parameter
fileCreateMask
- 
                            - Type
- text
- Default
- 0664
- Path
- $GLOBALS- ['TYPO3_ - CONF_ - VARS'] - ['SYS'] - ['file - Create - Mask'] 
 File mode mask for Unix file systems (when files are uploaded/created). 
..  confval:: fileCreateMask
    :name: some-unique-fileCreateMask
    :type: text
    :default: 0664
    :Path: :php:`$GLOBALS['TYPO3_CONF_VARS']['SYS']['fileCreateMask']`
    File mode mask for Unix file systems (when files are uploaded/created).Confval directive API
Each confval must have at least a title. If that title is not unique within
the manual the confval must also have the :name: attribute, followed by a
unique name. Names are case-insensitive and convert all special signs into a dash.
..  confval:: [title]
    :name: [unique-name]There are several reserved attributes:
- :type:
- The type of the configuration value.
- :default:
- The default value
- :required:
- Is the configuration value required.
- :name:
- The unique identifier, reserved internally by reStructuredText.
- :class:
- Reserved internally by reStructuredText.
- noindex
- Exclude from being able to be referenced and form indexes. Useful for confvals that should be repeatedly displayed in different locations.
All other attributes are output the way they are written:
someSetting
- 
                            - Type
- string
- Path
- $GLOBALS- ['TYPO3_ - CONF_ - VARS'] - ['SYS'] - ['some - Setting'] 
- Some value
- Lorem Ipsum
 Lorem Ipsum Dolor sit 
..  confval:: fileCreateMask
    :name: some-unique-someSetting
    :type: string
    :default: 0664
    :Path: :php:`$GLOBALS['TYPO3_CONF_VARS']['SYS']['fileCreateMask']`
    Lorem Ipsum Dolor sit