public function StringDatabaseStorage::getTranslations

Implements Drupal\locale\StringStorageInterface::getTranslations().

Overrides StringStorageInterface::getTranslations

File

drupal/core/modules/locale/lib/Drupal/locale/StringDatabaseStorage.php, line 57
Definition of Drupal\locale\StringDatabaseStorage.

Class

StringDatabaseStorage
Defines the locale string class.

Namespace

Drupal\locale

Code

public function getTranslations(array $conditions = array(), array $options = array()) {
  return $this
    ->dbStringLoad($conditions, array(
    'translation' => TRUE,
  ) + $options, 'Drupal\\locale\\TranslationString');
}