ContentTranslationFieldMapper
        ContentTranslationFieldMapper.php
                :
        17
                 
    
                                        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()
            ¶
accept()
            ¶
    
        
        ContentTranslationFieldMapper.php
                :
        26
                 
    
        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()
            ¶
mapFields()
            ¶
    
        
        ContentTranslationFieldMapper.php
                :
        35
                 
    
        Maps given $content for $languageCode to an array of search fields.
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $content | Content | - | - | 
| $languageCode | string | - | - | 
Return values
array<string|int, Field>