function 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[[api-linebreak]] @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.