function BaseFieldDefinitionTestBase::getModuleAndPath
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php \Drupal\Tests\Core\Field\BaseFieldDefinitionTestBase::getModuleAndPath()
- 10 core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php \Drupal\Tests\Core\Field\BaseFieldDefinitionTestBase::getModuleAndPath()
- 8.9.x core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php \Drupal\Tests\Core\Field\BaseFieldDefinitionTestBase::getModuleAndPath()
Returns the module name and the module directory for the plugin.
Return value
array A one-dimensional array containing the following strings:
- The module name.
- The module directory, e.g. DRUPAL_CORE . 'core/modules/path'.
File
-
core/
tests/ Drupal/ Tests/ Core/ Field/ BaseFieldDefinitionTestBase.php, line 73
Class
- BaseFieldDefinitionTestBase
- Provides setup method for testing base field definitions.
Namespace
Drupal\Tests\Core\FieldCode
abstract protected function getModuleAndPath();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.