This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Russian translation | |
# Drush command for update locale | |
# `drush locale-check && drush locale-update && drush cr` | |
# `drush locale:import locale --type=customized ABSOLUTE/PATH/TO/locale.po` | |
# The context value. | |
msgctxt "" | |
# The source text. | |
msgid "" | |
# The translated text. | |
msgstr "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Drupal\filter\Render\FilteredMarkup; | |
use Symfony\Component\VarDumper\Cloner\VarCloner; | |
use Symfony\Component\VarDumper\Dumper\CliDumper; | |
use Symfony\Component\VarDumper\Dumper\HtmlDumper; | |
use Symfony\Component\VarDumper\VarDumper; | |
// Set handler for VarDumper. | |
VarDumper::setHandler(function ($var) { | |
$cloner = new VarCloner(); | |
$dumper = 'cli' === PHP_SAPI ? new CliDumper() : new HtmlDumper(); |