You are here

protected function FeedsTamperUnitTestCase::getPluginPath in Feeds Tamper 6

Returns absolute plugin path for the current plugin.

If another module is using FeedsTamperUnitTestCase, this can be overridden to calculate the correct path.

Return value

string The plugin path.

1 call to FeedsTamperUnitTestCase::getPluginPath()
FeedsTamperUnitTestCase::setUp in tests/feeds_tamper_plugins.test
Sets up unit test environment.

File

tests/feeds_tamper_plugins.test, line 39
Unit tests for feeds tamper plugins.

Class

FeedsTamperUnitTestCase
Base class for plugin unit tests.

Code

protected function getPluginPath() {
  return dirname(dirname(__FILE__)) . '/plugins/' . $this->plugin_id . '.inc';
}