As there are two different branches being developed, it would be better to have a simple function that returns the API version supported by the installed version of the module; the returned value can simply be a float number.

Comments

avpaderno’s picture

Title: Add a function that allows to third-party modules to know the API version developed by the module » Add a constant for the currently implemented API version
Status: Active » Fixed

I added a constant that allows third-party modules to understand which API version is implemented by the currently installed Meta tag module; the value is a floating point value that is equal to 2.0 for version 6.x-2.x-dev, or to 1.0 for version 6.x-1.x.

Status: Fixed » Closed (fixed)

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