# Bullet List:
# A single bullet list.
#
# CType: bullets

tt_content.bullets =< lib.contentElement
tt_content.bullets {
    templateName = Bullets
    dataProcessing {
        10 = TYPO3\CMS\Frontend\DataProcessing\SplitProcessor
        10 {
            if {
                value = 2
                isLessThan.field = bullets_type
            }
            fieldName = bodytext
            removeEmptyEntries = 1
            as = bullets
        }
        20 = TYPO3\CMS\Frontend\DataProcessing\CommaSeparatedValueProcessor
        20 {
            fieldName = bodytext
            if {
                value = 2
                equals.field = bullets_type
            }
            fieldDelimiter = |
            as = bullets
        }
    }
    stdWrap {
        # @deprecated since v11: stdWrap.editIcons. Will be removed with v12.
        editIcons = tt_content: header [header_layout], bodytext [bullets_type]
        editIcons {
            beforeLastTag = 1
            iconTitle.data = LLL:EXT:fluid_styled_content/Resources/Private/Language/FrontendEditing.xlf:editIcon.bullets
        }
    }
}
