Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Plugin/PatternBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
abstract class PatternBase extends PluginBase implements PatternInterface, ContainerFactoryPluginInterface {

/**
* The app root.
* The app root, with trailing slash.
*
* @var string
*/
Expand All @@ -34,7 +34,7 @@ abstract class PatternBase extends PluginBase implements PatternInterface, Conta
*/
public function __construct(array $configuration, $plugin_id, $plugin_definition, $root, ModuleHandlerInterface $module_handler) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->root = $root;
$this->root = $root . '/';
$this->moduleHandler = $module_handler;
}

Expand Down