You are here

protected function PathFieldDefinitionTest::getPluginId in Drupal 8

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()

Returns the plugin ID of the tested field type.

Return value

string The plugin ID.

Overrides BaseFieldDefinitionTestBase::getPluginId

File

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

Class

PathFieldDefinitionTest
@coversDefaultClass \Drupal\Core\Field\BaseFieldDefinition @group path

Namespace

Drupal\Tests\path\Unit\Field

Code

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