function PathFieldDefinitionTest::getPluginId

Same name and namespace in other branches
  1. 9 core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php \Drupal\Tests\path\Unit\Field\PathFieldDefinitionTest::getPluginId()
  2. 10 core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php \Drupal\Tests\path\Unit\Field\PathFieldDefinitionTest::getPluginId()
  3. 11.x core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php \Drupal\Tests\path\Unit\Field\PathFieldDefinitionTest::getPluginId()

Overrides BaseFieldDefinitionTestBase::getPluginId

File

core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php, line 16

Class

PathFieldDefinitionTest
@coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Field%21BaseFieldDefinition.php/class/BaseFieldDefinition/8.9.x" title="A class for defining entity fields." class="local">\Drupal\Core\Field\BaseFieldDefinition</a> @group path

Namespace

Drupal\Tests\path\Unit\Field

Code

protected function getPluginId() {
    return 'path';
}

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