Created
March 31, 2011 22:57
-
-
Save sdboyer/897431 to your computer and use it in GitHub Desktop.
gibbering funlets working on plugin type controller interfaces
This file contains 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 | |
interface PluginControllerInterface { | |
/** | |
* Retrieve plugin metadata for the named plugin of this type. | |
*/ | |
public function getPluginMetadata($name); | |
/** | |
* Retrieve plugin metadata for all plugins of this type. | |
*/ | |
public function getAllPluginMetadata(); | |
} | |
interface PluginControllerContextualInterface extends DrupalPluginControllerInterface { | |
public function setContext(DrupalContext $context); | |
} | |
interface PluginControllerSingleSlotInterface extends PluginControllerInterface { | |
public function getPluginInstance($name); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment