protected StringDatabaseStorage::checkVersion($string, $version)
Checks whether the string version matches a given version, fix it if not.
Parameters
\Drupal\locale\StringInterface $string: The string object.
string $version: Drupal version to check against.
File
core/modules/locale/src/StringDatabaseStorage.php, line 174
Class
StringDatabaseStorage Defines a class to store localized strings in the database.
Namespace
Drupal\locale
Code
protected function checkVersion($string, $versio