$container->
get('language_manager'
) );
} /**
* Builds a string search query and returns an array of string objects.
*
* @return \Drupal\locale\TranslationString[]
* Array of \Drupal\locale\TranslationString objects.
*/
protected function translateFilterLoadStrings() { $filter_values =
$this->
translateFilterValues();
// Language is sanitized to be one of the possible options in
// translateFilterValues().
$conditions =
['language' =>
$filter_values['langcode'
]];
$options =
['pager limit' => 30, 'translated' => TRUE, 'untranslated' => TRUE
];
// Add translation status conditions and options.
switch ($filter_values['translation'
]) { case 'translated':
$conditions['translated'
] = TRUE;
if ($filter_values['customized'
] != 'all'
) {