function BaseFieldDefinitionTestBase::getPluginId

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php \Drupal\Tests\Core\Field\BaseFieldDefinitionTestBase::getPluginId()
  2. 10 core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php \Drupal\Tests\Core\Field\BaseFieldDefinitionTestBase::getPluginId()
  3. 11.x core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php \Drupal\Tests\Core\Field\BaseFieldDefinitionTestBase::getPluginId()

Returns the plugin ID of the tested field type.

Return value

string The plugin ID.

1 call to BaseFieldDefinitionTestBase::getPluginId()
BaseFieldDefinitionTestBase::setUp in core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php
1 method overrides BaseFieldDefinitionTestBase::getPluginId()
PathFieldDefinitionTest::getPluginId in core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php
Returns the plugin ID of the tested field type.

File

core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php, line 63

Class

BaseFieldDefinitionTestBase
Provides setup method for testing base field definitions.

Namespace

Drupal\Tests\Core\Field

Code

protected abstract function getPluginId();

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