function LanguageNegotiationContentEntityTest::getPluginClass

Same name and namespace in other branches
  1. 11.x core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationContentEntityTest.php \Drupal\Tests\language\Unit\Plugin\LanguageNegotiation\LanguageNegotiationContentEntityTest::getPluginClass()

Returns the plugin class to use for creating the language negotiation plugin.

Return value

string The plugin class name.

Overrides LanguageNegotiationTestBase::getPluginClass

1 call to LanguageNegotiationContentEntityTest::getPluginClass()
LanguageNegotiationContentEntityTest::testProcessOutbound in core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationContentEntityTest.php
@covers ::processOutbound[[api-linebreak]]

File

core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationContentEntityTest.php, line 46

Class

LanguageNegotiationContentEntityTest
Tests the LanguageNegotiationContentEntity plugin class.

Namespace

Drupal\Tests\language\Unit\Plugin\LanguageNegotiation

Code

protected function getPluginClass() : string {
  return LanguageNegotiationContentEntity::class;
}

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