class LanguageNegotiationTestTs

Same name in other branches
  1. 9 core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTestTs.php \Drupal\language_test\Plugin\LanguageNegotiation\LanguageNegotiationTestTs
  2. 8.9.x core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTestTs.php \Drupal\language_test\Plugin\LanguageNegotiation\LanguageNegotiationTestTs
  3. 11.x 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.

Attributes

#[LanguageNegotiation(id: LanguageNegotiationTestTs::METHOD_ID, name: new TranslatableMarkup('Type-specific test'), types: ['test_language_type'], weight: -10, description: new TranslatableMarkup('This is a test language negotiation method.'))]

Hierarchy

Expanded class hierarchy of LanguageNegotiationTestTs

File

core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTestTs.php, line 11

Namespace

Drupal\language_test\Plugin\LanguageNegotiation
View source
class LanguageNegotiationTestTs extends LanguageNegotiationTest {
    
    /**
     * The language negotiation method id.
     */
    const METHOD_ID = 'test_language_negotiation_method_ts';

}

Members


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.