Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does textmate recognize which Drupal version? #36

Open
jenlampton opened this issue Feb 16, 2015 · 2 comments
Open

How does textmate recognize which Drupal version? #36

jenlampton opened this issue Feb 16, 2015 · 2 comments

Comments

@jenlampton
Copy link

I've set the variable TM_DRUPAL_VERSION to 7, but still when I try to autocomplete hook_block_info() I get the message This snippet does not exist for the specified version of Drupal.. Alternatively, when I try to autocomplete hook_block the function definition displays with no problem.

Is the Drupal version read per-project, by chance? How does one set the Drupal version in a specific project?

I'm asking because I'd like to expand the TextMate Drupal bundle to work for Backdrop as well, but I can't seem to figure out where to start :)

@webflo
Copy link
Collaborator

webflo commented Feb 16, 2015

The logic is in textmate_detect_settings() in bootstrap.php

@webflo
Copy link
Collaborator

webflo commented Feb 16, 2015

... and there is the TM_DRUPAL_VERSION variable to enforce a specific Drupal Version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants