You are here

protected function PathFieldDefinitionTest::getPluginId in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 21
Contains \Drupal\Tests\path\Unit\Field\PathFieldDefinitionTest.

Class

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

Namespace

Drupal\Tests\path\Unit\Field

Code

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