Skip to content

Commit

Permalink
A few code improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Fl0Cri committed May 27, 2021
1 parent 3f8f843 commit 0734558
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,10 @@

class Plugin extends PluginBase
{
public function pluginDetails()
{
return [
'name' => 'Custom Google Search',
'description' => 'Add custom google search results to your site',
'author' => 'inetis',
'icon' => 'icon-search'
];
}

public function registerComponents()
{
return [
'\Inetis\GoogleCustomSearch\Components\SearchResults' => 'searchResults'

Components\SearchResults::class => 'searchResults',
];
}
}
2 changes: 1 addition & 1 deletion plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ plugin:
description: 'inetis.googlecustomsearch::lang.plugin.description'
author: inetis
icon: oc-icon-search
homepage: 'https:://inetis.ch'
homepage: 'https://inetis.ch'

0 comments on commit 0734558

Please sign in to comment.