Created
June 5, 2014 15:11
-
-
Save lsolesen/0f62f1c8e7a472896b86 to your computer and use it in GitHub Desktop.
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 | |
| /** | |
| * @file | |
| */ | |
| /** | |
| * Plugin definition. | |
| */ | |
| $plugin = array( | |
| 'vih_link_button' => array( | |
| 'title' => t('Button'), | |
| 'description' => t('Render links list as buttons'), | |
| 'render pane' => 'vih_plugins_link_render_pane', | |
| ), | |
| ); | |
| /** | |
| * Render callback | |
| * | |
| * @ingroup themable | |
| */ | |
| function theme_vih_plugins_link_render_pane($vars) { | |
| $settings = $vars['settings']; | |
| $content = $vars['content']; | |
| return 'ready to be styled as buttons?'; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment