function BaseFieldDefinitionTestBase::getPluginId
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php \Drupal\Tests\Core\Field\BaseFieldDefinitionTestBase::getPluginId()
- 10 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 - 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\FieldCode
protected abstract function getPluginId();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.