src/Field/Helper/FieldConfigurationHelper.php
private function getActionField(array $fields): ?string
    {
        $mapping = [
            'title',
            'name',
            'id',
        ];

        foreach ($mapping as $name) {
            if (in_array($name, $fields)) {
                return $name;
            }
        }

        return null;
    }
private function getActionField(array $fields): ?string
    {
        $mapping = [
            'title',
            'name',
            'id',
        ];

        foreach ($mapping as $name) {
            if (in_array($name, $fields)) {
                return $name;
            }
        }

        return null;
    }
private function getActionField ( array $ fields ) : ? string { $ mapping = [ 'title' , 'name' , 'id' , ] ; foreach ( $ mapping as $ name ) { if ( in_array ( $ name , $ fields ) ) { return $ name ; } } return null ; }
Return the default action field if found.

@param array $fields

@return string|null
Return the default action field if found .