];
$this->
messenger()->
addWarning($this->renderer->
renderPlain($message));
$original_langcode = LanguageInterface::LANGCODE_NOT_SPECIFIED;
$operations_access = FALSE;
} if (!
isset($languages[$original_langcode])) { // If the language is not configured on the site, create a dummy language
// object for this listing only to ensure the user gets useful info.
$language_name =
$this->languageManager->
getLanguageName($original_langcode);
$languages[$original_langcode] =
new Language(['id' =>
$original_langcode, 'name' =>
$language_name]);
} // We create a fake request object to pass into
// ConfigMapperInterface::populateFromRouteMatch() for the different languages.
// Creating a separate request for each language and route is neither easily
// possible nor performant.
$fake_request =
$request->
duplicate();
$page['languages'
] =
[ '#type' => 'table',