Lines Matching defs:plugin
20 * Class helper_plugin_extension_extension represents a single extension (plugin or template)
164 // never allow deinstalling the current auth plugin:
249 // Data from plugin.info.txt/template.info.txt or the repo when not available locally
330 ($this->isTemplate() ? 'template' : 'plugin') . ':' . $this->getBase();
357 * Get the date of the installation of the plugin
661 // filename may contain the plugin name for old style plugins...
720 * @return bool If the plugin was sucessfully uninstalled
790 $infopath = $this->getInstallDir() . '/plugin.info.txt';
797 $plugin = null;
801 $plugin = plugin_load($type, $this->base);
802 if ($plugin instanceof PluginInterface) break;
809 $plugin = plugin_load($type, $this->base . '_' . substr($cp, 0, -4));
810 if ($plugin instanceof PluginInterface) break;
812 if ($plugin instanceof PluginInterface) break;
817 if ($plugin instanceof PluginInterface) {
818 $this->localInfo = $plugin->getInfo();
868 // backwards compatible with old plugin manager
972 // try to get the file from the path (used as plugin name fallback)
999 * @param bool $overwrite If an already installed plugin should be overwritten
1000 * @param string $base The basename of the plugin if it's known
1024 $default = ($this->isTemplate() ? 'template' : 'plugin');
1121 protected function findFolders(&$result, $directory, $default_type = 'plugin', $subdir = '')
1139 case 'plugin.info.txt':