protected function DataCollectorTableTest::getResourcesUrl in Charts 8.4
Same name and namespace in other branches
- 5.0.x tests/src/FunctionalJavascript/DataCollectorTableTest.php \Drupal\Tests\charts\FunctionalJavascript\DataCollectorTableTest::getResourcesUrl()
Get url of ressources.
Return value
\Drupal\Core\GeneratedUrl|string The url.
File
- tests/
src/ FunctionalJavascript/ DataCollectorTableTest.php, line 255
Class
- DataCollectorTableTest
- Tests the data collector table element.
Namespace
Drupal\Tests\charts\FunctionalJavascriptCode
protected function getResourcesUrl() {
$resources_path = drupal_get_path('module', 'charts') . '/tests/resources';
return Url::fromUri('internal:/' . $resources_path)
->toString();
// ->setAbsolute()
}