function PathFieldDefinitionTest::getModuleAndPath

Same name and namespace in other branches
  1. 11.x core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php \Drupal\Tests\path\Unit\Field\PathFieldDefinitionTest::getModuleAndPath()
  2. 10 core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php \Drupal\Tests\path\Unit\Field\PathFieldDefinitionTest::getModuleAndPath()
  3. 8.9.x core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php \Drupal\Tests\path\Unit\Field\PathFieldDefinitionTest::getModuleAndPath()

File

core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php, line 23

Class

PathFieldDefinitionTest
@coversDefaultClass \Drupal\Core\Field\BaseFieldDefinition[[api-linebreak]] @group path

Namespace

Drupal\Tests\path\Unit\Field

Code

protected function getModuleAndPath() {
  return [
    'path',
    dirname(__DIR__, 4),
  ];
}

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