function BaseFieldDefinitionTestBase::getPluginId
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php \Drupal\Tests\Core\Field\BaseFieldDefinitionTestBase::getPluginId()
- 8.9.x core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php \Drupal\Tests\Core\Field\BaseFieldDefinitionTestBase::getPluginId()
- 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
File
-
core/
tests/ Drupal/ Tests/ Core/ Field/ BaseFieldDefinitionTestBase.php, line 68
Class
- BaseFieldDefinitionTestBase
- Provides setup method for testing base field definitions.
Namespace
Drupal\Tests\Core\FieldCode
protected abstract function getPluginId();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.