private function getExcludedFieldNames($view, array $entityConfig)
    {
        $excludedFieldNames = [
            'edit' => [$entityConfig['primary_key_field_name']],
            'list' => ['password', 'salt', 'slug', 'updatedAt', 'uuid'],
            'new' => [$entityConfig['primary_key_field_name']],
            'search' => ['password', 'salt'],
            'show' => [],
        ];

        return isset($excludedFieldNames[$view]) ? $excludedFieldNames[$view] : [];
    }