LanguageNegotiationTestTs.php

Same filename in other branches
  1. 9 core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTestTs.php
  2. 8.9.x core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTestTs.php
  3. 11.x core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTestTs.php

Namespace

Drupal\language_test\Plugin\LanguageNegotiation

File

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

View source
<?php

namespace Drupal\language_test\Plugin\LanguageNegotiation;

use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\language\Attribute\LanguageNegotiation;

/**
 * Class for identifying language from a selected language.
 */
class LanguageNegotiationTestTs extends LanguageNegotiationTest {
    
    /**
     * The language negotiation method id.
     */
    const METHOD_ID = 'test_language_negotiation_method_ts';

}

Classes

Title Deprecated Summary
LanguageNegotiationTestTs Class for identifying language from a selected language.

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