TranslatorInterface.php in Zircon Profile 8.0
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\Core\ValidationFile
core/lib/Drupal/Core/Validation/TranslatorInterface.phpView source
<?php
/**
* @file
* Contains \Drupal\Core\Validation\TranslatorInterface.
*/
namespace Drupal\Core\Validation;
use Symfony\Component\Translation\TranslatorInterface as SymfonyTranslatorInterface;
/**
* Defines an interface used in validation.
*
* This extends the interface used by the Symfony validator in order to indicate
* that the Drupal code is actually independent from the Symfony translation
* component.
*
* @see https://github.com/symfony/symfony/pull/6189
* @see https://github.com/symfony/symfony/issues/15714
*/
interface TranslatorInterface extends SymfonyTranslatorInterface {
}
Interfaces
Name | Description |
---|---|
TranslatorInterface | Defines an interface used in validation. |