public importPlugin ( string $type ) : void | ||
$type | string | The type of the plugins to be loaded |
return | void |
public function importPlugin($type)
{
if (!$this->isCli()) {
\JLoader::import('joomla.plugin.helper');
\JPluginHelper::importPlugin($type);
}
}