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] : [];
    }
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] : [];
    }
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 ] : [ ] ; }
Returns the list of excluded field names for the given view.

@param string $view
@param array  $entityConfig

@return array
Returns the list of excluded field names for the given view .