class LanguageNegotiationTestTs in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTestTs.php \Drupal\language_test\Plugin\LanguageNegotiation\LanguageNegotiationTestTs
Class for identifying language from a selected language.
Plugin annotation
@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"}
)
Hierarchy
- class \Drupal\language\LanguageNegotiationMethodBase implements LanguageNegotiationMethodInterface
- class \Drupal\language_test\Plugin\LanguageNegotiation\LanguageNegotiationTest
- class \Drupal\language_test\Plugin\LanguageNegotiation\LanguageNegotiationTestTs
- class \Drupal\language_test\Plugin\LanguageNegotiation\LanguageNegotiationTest
Expanded class hierarchy of LanguageNegotiationTestTs
File
- core/
modules/ language/ tests/ language_test/ src/ Plugin/ LanguageNegotiation/ LanguageNegotiationTestTs.php, line 21 - Contains \Drupal\language_test\Plugin\LanguageNegotiation\LanguageNegotiationTestTs.
Namespace
Drupal\language_test\Plugin\LanguageNegotiationView source
class LanguageNegotiationTestTs extends LanguageNegotiationTest {
/**
* The language negotiation method id.
*/
const METHOD_ID = 'test_language_negotiation_method_ts';
}