Skip to content
Snippets Groups Projects

3415195 - Add support for LICENSE

4 files
+ 9
6
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -38,14 +38,14 @@ class ModuleInstructionsController extends ControllerBase {
}
/**
* Creates a title for the README page from module and file's name.
* Creates a title for the instruction page.
*/
public function getTitle($module, $file) {
return $this->t('@module (@file)', ['@module' => $module, '@file' => $file]);
}
/**
* Displays README file.
* Displays the instruction file.
*/
public function instruction($module, $file) {
$fullpath = $this->pathResolver->getPath('module', $module) . '/' . $file;
Loading