public function TypedDataLanguageRelationshipPluginTest::testRelationshipName in Chaos Tool Suite (ctools) 8.3
@covers ::getName
File
- tests/
src/ Kernel/ TypedDataLanguageRelationshipPluginTest.php, line 16
Class
- TypedDataLanguageRelationshipPluginTest
- @coversDefaultClass \Drupal\ctools\Plugin\Relationship\TypedDataEntityRelationship @group CTools
Namespace
Drupal\Tests\ctools\KernelCode
public function testRelationshipName() {
/** @var \Drupal\ctools\Plugin\RelationshipInterface $langcode_plugin */
$langcode_plugin = $this->relationshipManager
->createInstance('typed_data_language_relationship:entity:node:langcode');
$this
->assertSame('langcode', $langcode_plugin
->getName());
}