Drupal 8  8.0.2
LanguageBlock Class Reference
Inheritance diagram for LanguageBlock:

Public Member Functions

 getDerivativeDefinitions ($base_plugin_definition)
 
- Public Member Functions inherited from DeriverBase
 getDerivativeDefinition ($derivative_id, $base_plugin_definition)
 
 getDerivativeDefinitions ($base_plugin_definition)
 

Additional Inherited Members

- Protected Attributes inherited from DeriverBase
 $derivatives = array()
 

Detailed Description

Provides language switcher block plugin definitions for all languages.

Member Function Documentation

getDerivativeDefinitions (   $base_plugin_definition)

{Gets the definition of all derivatives of a base plugin.

Parameters
array$base_plugin_definitionThe definition array of the base plugin.
Returns
array An array of full derivative definitions keyed on derivative id.
See Also
getDerivativeDefinition()
}

Implements DeriverInterface.

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

Here is the call graph for this function:


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