LanguageNegotiationTestTs.php in Zircon Profile 8.0
Same filename and directory in other branches
File
core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTestTs.phpView source
<?php
/**
* @file
* Contains \Drupal\language_test\Plugin\LanguageNegotiation\LanguageNegotiationTestTs.
*/
namespace Drupal\language_test\Plugin\LanguageNegotiation;
/**
* Class for identifying language from a selected language.
*
* @LanguageNegotiation(
* id = "test_language_negotiation_method_ts",
* weight = -10,
* name = @Translation("Type-specific test"),
* description = @Translation("This is a test language negotiation method."),
* types = {"test_language_type"}
* )
*/
class LanguageNegotiationTestTs extends LanguageNegotiationTest {
/**
* The language negotiation method id.
*/
const METHOD_ID = 'test_language_negotiation_method_ts';
}
Classes
Name![]() |
Description |
---|---|
LanguageNegotiationTestTs | Class for identifying language from a selected language. |