Created
May 10, 2014 20:18
-
-
Save MisterPoppet/917c4df8c6d809babd7f to your computer and use it in GitHub Desktop.
Fixed Inspector Plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Craft; | |
class InspectorPlugin extends BasePlugin | |
{ | |
public function getName() | |
{ | |
return Craft::t('Inspector'); | |
} | |
public function getVersion() | |
{ | |
return '1.0'; | |
} | |
public function getDeveloper() | |
{ | |
return 'Adrian Macneil'; | |
} | |
public function getDeveloperUrl() | |
{ | |
return 'http://adrianmacneil.com'; | |
} | |
public function addTwigExtension() | |
{ | |
Craft::import('plugins.inspector.twigextensions.InspectorTwigExtension'); | |
return new InspectorTwigExtension(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment