function RegistryParseFilesTestCase::getFileContents
7.x registry.test | RegistryParseFilesTestCase::getFileContents($fileType) |
getFileContents
1 call to RegistryParseFilesTestCase::getFileContents()
- RegistryParseFilesTestCase::setUp in drupal-7.x/
modules/ simpletest/ tests/ registry.test - Sets up a Drupal site for running functional and integration tests.
File
- drupal-7.x/
modules/ simpletest/ tests/ registry.test, line 130
Class
Code
function getFileContents($fileType) {
$file_contents = <<<CONTENTS
<?php
class {$this->$fileType->className} {}
interface {$this->$fileType->interfaceName} {}
CONTENTS;
return $file_contents;
}