by calling

    $list = field_info_field('body');
    dpm($list);

We get:

//  'foreign keys' =>
//            array (
//                'format' =>
//                    array (
//                        'table' => 'filter_format',
//                        'columns' =>
//                            array (
//                                'format' => 'format',
//                            ),
//                    ),
//            ),

May I ask why body field have this foreign key, is it for what ?
Can some help us make it clear.

Thanks and Regards.

Comments

Jaypan’s picture

format is the Input Filter that is set on the body field. The input filters are stored in the {filter_format} table. If you add/delete an Input filter in your system, it will be added to this table. Therefore, 'format' has a foreign key in the {filter_format} table.