public function LanguageSelectionPageConditionBase::alterPageContent in Language Selection Page 8.2
Alter the $content render array used to build the LSP page.
Parameters
array &$content: The content render array.
string $destination: The destination path.
Overrides LanguageSelectionPageConditionInterface::alterPageContent
2 methods override LanguageSelectionPageConditionBase::alterPageContent()
- LanguageSelectionPageConditionLanguagePrefixes::alterPageContent in src/
Plugin/ LanguageSelectionPageCondition/ LanguageSelectionPageConditionLanguagePrefixes.php - Alter the $content render array used to build the LSP page.
- LanguageSelectionPageConditionType::alterPageContent in src/
Plugin/ LanguageSelectionPageCondition/ LanguageSelectionPageConditionType.php - Alter the $content render array used to build the LSP page.
File
- src/
LanguageSelectionPageConditionBase.php, line 27
Class
- LanguageSelectionPageConditionBase
- Base class for language selection page condition.
Namespace
Drupal\language_selection_pageCode
public function alterPageContent(array &$content = [], $destination = '<front>') {
}