function PluginIdTest::testGetId
@legacy-covers ::getId
File
-
core/
tests/ Drupal/ Tests/ Component/ Annotation/ PluginIdTest.php, line 45
Class
Namespace
Drupal\Tests\Component\AnnotationCode
public function testGetId() : void {
$plugin = new PluginID();
$plugin->value = 'example';
$this->assertEquals('example', $plugin->getId());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.