You are here

private function Sweaver::add_plugin in Sweaver 7

Same name and namespace in other branches
  1. 6 sweaver.inc \Sweaver::add_plugin()

add_plugin. Adds a sweaver plugin to the stash.

File

./sweaver.inc, line 102
Class Sweaver.

Class

Sweaver
@file Class Sweaver.

Code

private function add_plugin(Sweaver_plugin $plugin) {
  $this->plugins[] = $plugin;
}