summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Boyer2008-07-15 03:18:54 (GMT)
committer Sam Boyer2008-07-15 03:18:54 (GMT)
commit7d282f876c5812d4cde3516ee47e469215249ea0 (patch)
tree5d935cd93e14760c3f1ff81eb998997a5cba88cb
parenta3927b8ef042fe8932b8bc4bfd205993a0e703ba (diff)
Added 'path' property to ensure that icon continues to display in Add Content as intended.
content_types callback was missing the 'path' property to where the icon resided, but for some reason, the icon was working anyway. Added the property so that the plugin is compliant with the API, such that it'll continue to work whenever we iron out what's letting it skip 'path'.
-rw-r--r--content_types/custom.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/content_types/custom.inc b/content_types/custom.inc
index 78eb990..b719446 100644
--- a/content_types/custom.inc
+++ b/content_types/custom.inc
@@ -71,6 +71,7 @@ function panels_admin_content_types_custom() {
'custom' => array(
'title' => t('New custom content'),
'icon' => 'icon_block_custom.png',
+ 'path' => panels_get_path('content_types/custom'),
'description' => t('Create a completely custom piece of HTML content.'),
'category' => array(t('Custom'), -10),
),