Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There is a typo, and module name is wrong:
function references_dialog_views_api() {
return array(
'api' => 3,
'path' => drupal_get_path('module', 'references_dialog') . '/views',
);
}
It cause related problems with views.
Patch applied.
Comment | File | Size | Author |
---|---|---|---|
views-api-module-name-typo.patch | 458 bytes | IRuslan | |
Comments
Comment #1
nbucknor CreditAttribution: nbucknor commentedThis patch works for me.
Comment #2
heliogabalpatch is working for me too, and there is a similar issue that is investigating two other cases of naming: https://www.drupal.org/node/2375741
Comment #3
hosef CreditAttribution: hosef commentedThe performance issue actually has nothing to do with views. The problem is that the module is asking Drupal for the path to a project that doesn't actually exist, which causes Drupal to look in every folder that could possibly have the .module for this non-existant project.
The patch does indeed fix the issue.
Comment #5
hosef CreditAttribution: hosef commentedOh, it appears that this is already fixed in the latest development build.
I'm not going to mark as fixed, though because there is no recommended build that includes this.
Comment #6
Kristen PolMarking RTBC since it works but it is understood this has already been fixed in dev.
Comment #7
IRuslan CreditAttribution: IRuslan commentedAlso fixed here https://www.drupal.org/node/2375741