protected function LoadFixturesTrait::getFixturePath in YAML Content 8
Get the base path for fixture content.
Return value
string The base path for fixture content.
3 calls to LoadFixturesTrait::getFixturePath()
- FileTest::testProcess in tests/
src/ Functional/ Plugin/ yaml_content/ process/ FileTest.php - Test file processing.
- FileTest::testProcessMissingField in tests/
src/ Unit/ Plugin/ yaml_content/ process/ FileTest.php - @covers ::process
- LoadFixturesTrait::loadFixtureContent in tests/
src/ Traits/ LoadFixturesTrait.php - Load content from a fixture file.
File
- tests/
src/ Traits/ LoadFixturesTrait.php, line 19
Class
- LoadFixturesTrait
- A trait to support loading test fixture data.
Namespace
Drupal\Tests\yaml_content\TraitsCode
protected function getFixturePath() {
return realpath(dirname(__FILE__) . '/../fixtures');
}