Jump to content

"getModuleInfo does not exist" error even with .info.php file


Recommended Posts

I'm slowly getting into module development. My aim is to - in a first step - convert Ryans TextformatterVideoEmbed module to the new module structure he proposes in the Helloworld module. In a second step, I'd like to add some more options to the module. My fork can be found here.

However, I'm having a problem with the getModuleInfo function. As soon as I replace it with a TextformatterVideoEmbed.info.php file, I start getting the following error when I edit a field like title (text) or body (textarea):

Method TextformatterVideoEmbed::getModuleInfo does not exist or is not callable in this context

Additionally, the Details tab of that field is not shown at all.

Am I missing something? Do textformatters have special requirements in this term?

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...