You are here

public function LanguageSelectionPageConditionBase::getDestination in Language Selection Page 8.2

Find the destination to redirect the user to after choosing the language.

Parameters

string $destination: The destination.

Return value

string The destination.

Overrides LanguageSelectionPageConditionInterface::getDestination

1 method overrides LanguageSelectionPageConditionBase::getDestination()
LanguageSelectionPageConditionType::getDestination in src/Plugin/LanguageSelectionPageCondition/LanguageSelectionPageConditionType.php
Find the destination to redirect the user to after choosing the language.

File

src/LanguageSelectionPageConditionBase.php, line 62

Class

LanguageSelectionPageConditionBase
Base class for language selection page condition.

Namespace

Drupal\language_selection_page

Code

public function getDestination($destination) {
  return $destination;
}