Drupal 8  8.0.2
TranslationLanguageRenderer Class Reference
Inheritance diagram for TranslationLanguageRenderer:

Public Member Functions

 query (QueryPluginBase $query, $relationship=NULL)
 
 render (ResultRow $row)
 
 getLangcode (ResultRow $row)
 
 getCacheContexts ()
 
- Public Member Functions inherited from EntityTranslationRendererBase
 getLangcode (ResultRow $row)
 
 query (QueryPluginBase $query, $relationship=NULL)
 
 render (ResultRow $row)
 
- Public Member Functions inherited from RendererBase
 __construct (ViewExecutable $view, LanguageManagerInterface $language_manager, EntityTypeInterface $entity_type)
 
 getCacheMaxAge ()
 
 getCacheContexts ()
 
 getCacheTags ()
 
 query (QueryPluginBase $query, $relationship=NULL)
 
 preRender (array $result)
 
 render (ResultRow $row)
 

Protected Attributes

 $langcodeAlias
 
- Protected Attributes inherited from RendererBase
 $languageManager
 
 $entityType
 
 $build
 

Additional Inherited Members

- Data Fields inherited from RendererBase
 $view
 

Detailed Description

Renders entity translations in their row language.

Member Function Documentation

getCacheContexts ( )

{The cache contexts associated with this object.These identify a specific variation/representation of the object.Cache contexts are tokens: placeholders that are converted to cache keys by the service. The replacement value depends on the request context (the current URL, language, and so on). They're converted before storing an object in cache.

Returns
string[] An array of cache context tokens, used to generate a cache ID.
See Also
::convertTokensToKeys()
}

Implements CacheableDependencyInterface.

getLangcode ( ResultRow  $row)

{}

Referenced by TranslationLanguageRenderer\render().

Here is the caller graph for this function:

query ( QueryPluginBase  $query,
  $relationship = NULL 
)

{}

References Drupal\entityManager(), and Drupal\languageManager().

Here is the call graph for this function:

render ( ResultRow  $row)

{}

References TranslationLanguageRenderer\getLangcode().

Here is the call graph for this function:


The documentation for this class was generated from the following file: