Download & Extend

what does _basic_theme do?

Project:Basic
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hello, I was going through the code and found _basic_theme(). Not really sure what it does, and even if it ever gets called, and if it does, how and when?

I read the README but says nothing about it.

Thanks for your help

Comments

#1

This is an implementation of hook_theme(). However, I don't think this will be called currently as it is prefixed with '_basic' and not 'basic'. Usually _ signifies a helper function of some kind. I'm not sure if there is a reason behind this?

#2

Have changed this to basic_theme for now. Not sure if we need this hook in here though?

#3

Or...Is this intended to be called from somewhere else, and included in a hook_theme? Currently there is not a hook_theme implementation. I think this does need to be hook_theme instead.

#4

Category:support request» bug report
Status:active» fixed

This has been changed.

#5

Status:fixed» closed (fixed)

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