ContentTranslationFieldMapper
        ContentTranslationFieldMapper.php
                :
        18
                
    
                                        Abstract
        
        
        
                Base class for Content translation document field mapper.
Content translation document field mapper maps Content in a specific translation to the search fields for Content document.
Methods¶
                
accept()
            ¶
    
        
        ContentTranslationFieldMapper.php
                :
        23
                
    
        Indicates if the mapper accepts given $content and $languageCode for mapping.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $content | Content | - | - | 
| $languageCode | string | - | - | 
Return values
bool
                
mapFields()
            ¶
    
        
        ContentTranslationFieldMapper.php
                :
        30
                
    
        Maps given $content for $languageCode to an array of search fields.
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $content | Content | - | - | 
| $languageCode | string | - | - | 
Return values
array<int, Field>