diff options
authorSam Boyer2008-07-15 03:18:54 (GMT)
committerSam Boyer2008-07-15 03:18:54 (GMT)
commit7d282f876c5812d4cde3516ee47e469215249ea0 (patch)
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'.
1 files changed, 1 insertions, 0 deletions
diff --git a/content_types/ b/content_types/
index 78eb990..b719446 100644
--- a/content_types/
+++ b/content_types/
@@ -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),