Postponed
Project:
Context
Version:
6.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2010 at 17:05 UTC
Updated:
5 May 2011 at 21:42 UTC
Jump to comment: Most recent file
Similar to views_api_version(), it would be useful to have a context_api_version(). See #634552-50: Conflict with context module.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | context-910220-5.patch | 710 bytes | tim.plunkett |
| #1 | 910220-1.patch | 458 bytes | pfrenssen |
Comments
Comment #1
pfrenssenPatch against 6.x-3.x-dev
Comment #2
pfrenssenchange status
Comment #3
tim.plunkettFor this to be useful Context would include it's API version in it's exportables, and check for it when importing those exportables.
Comment #4
Grayside commentedhook_ctools_plugin_api() is already generated when you export contexts, in module.features.inc.
Comment #5
tim.plunkettSo it is!
Let's standardize on the ctools output.
Comment #6
Grayside commentedWhy do we need both?
EDIT: Oh, so the current Context install reports what it is.
Comment #7
yareckon commentedtracking.
Comment #8
tim.plunkettI don't think this is actually needed.
Comment #9
Grayside commentedI disagree. I think it doesn't matter unless something like hook_requirements() is implemented to compare the output of hook_ctools_plugin_api() against context_api_version().
That would have been impressively useful to all the people that spent several hours scratching their heads when installing features built on Context 2 in a site running Context 3.
That will require a broader functionality in Features and/or ctools before an api version callback actually has a use.