MM

MM
Type:string (table name)
Scope:Proc.

This value contains the name of the table in which to store an MM relation. It is used together with foreign_table.

The database field with a MM property only stores the number of records in the relation.

There is additional information in the MM common property description.

Examples

Select field with foreign table via MM table

../../../../_images/SelectSingle15.png
'columns' => [
    'select_single_15' => [
        'exclude' => 1,
        'label' => 'select_single_15 foreign_table',
        'config' => [
            'type' => 'select',
            'renderType' => 'selectSingle',
            'foreign_table' => 'tx_styleguide_staticdata',
            'MM' => 'tx_styleguide_elements_select_single_15_mm',
        ],
    ],
]