Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit b200e03

Browse files
That is a release without a bug or two...
Perfect?
1 parent 9284a54 commit b200e03

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ElixirPlugin.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,14 @@ public function getSettingsHtml()
116116
'settings' => $this->getSettings()
117117
]);
118118
}
119+
120+
/**
121+
* Register Twig extension for use.
122+
*/
123+
public function addTwigExtension()
124+
{
125+
Craft::import('plugins.elixir.twigextensions.ElixirTwigExtension');
126+
127+
return new ElixirTwigExtension();
128+
}
119129
}

0 commit comments

Comments
 (0)