Improve Drupal Multisite detection

main
Kyle Taylor 1 year ago
parent 4b81894d52
commit 25c73775fe

@ -1795,10 +1795,26 @@
], ],
"description": "Drupal Multisite enables separate, independent sites to be served from a single codebase.", "description": "Drupal Multisite enables separate, independent sites to be served from a single codebase.",
"icon": "Drupal.svg", "icon": "Drupal.svg",
"implies": "Drupal", "requires": "Drupal",
"oss": true, "oss": true,
"dom": {
"figure[style*='/sites/']": {
"attributes": {
"style": "/sites/(?!(?:default|all)/).*/(?:files|themes|modules)/"
}
},
"img[src*='/sites/'], img[srcset*='/sites/'], source[srcset*='/sites/']": {
"attributes": {
"src": "/sites/(?!(?:default|all)/).*/(?:files|themes|modules)/",
"srcset": "/sites/(?!(?:default|all)/).*/(?:files|themes|modules)/"
}
},
"style": {
"text": "/sites/(?!(?:default|all)/).*/(?:files|themes|modules)/"
}
},
"scriptSrc": [ "scriptSrc": [
"/sites/(?!.*(default|all)).*/(?:files|themes|modules)/" "/sites/(?!(?:default|all)/).*/(?:files|themes|modules)/"
], ],
"website": "https://www.drupal.org/docs/multisite-drupal" "website": "https://www.drupal.org/docs/multisite-drupal"
}, },

Loading…
Cancel
Save