We're trying to keep our plugins separate from the .info files that always get loaded. When using an info file based plugin, the extension parameter is ignored in favor of .info.

Files: 
CommentFileSizeAuthor
#4 ctools-plugin_extension-1623044-4.patch763 bytesjsagotsky
PASSED: [[SimpleTest]]: [MySQL] 24 pass(es).
[ View ]
#1 ctools-plugin_extension-1623044-1.patch759 bytesjsagotsky
PASSED: [[SimpleTest]]: [MySQL] 24 pass(es).
[ View ]

Comments

StatusFileSize
new759 bytes
PASSED: [[SimpleTest]]: [MySQL] 24 pass(es).
[ View ]

This patch lets a plugin specify its own extension by ignoring the default .inc when determining which extension to use.

Status:Active» Needs review

Setting proper status.

Status:Needs review» Needs work

+++ b/includes/plugins.incundefined
@@ -447,7 +447,7 @@ function ctools_plugin_load_includes($info, $filename = NULL) {
+      $extension = (empty($info['info file'])||($info['extension']!='inc')) ? $info['extension'] : 'info';

This needs spaces around the || and !=

Status:Needs work» Needs review
StatusFileSize
new763 bytes
PASSED: [[SimpleTest]]: [MySQL] 24 pass(es).
[ View ]

Updated for style.

Status:Needs review» Fixed

Okay, makes sense. Committed and pushed.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.