Skip to main content
mpdonadio's user avatar
mpdonadio's user avatar
mpdonadio's user avatar
mpdonadio
Moderator
  • Member for 13 years, 8 months
  • Last seen this week
  • Philadelphia, PA
revised
deleted 3 characters in body
Loading…
comment
What's the correct way to install Drupal with Composer if I want to work on core issues?
@joachim Yeah, git clone, checkout the branch I want, then composer install. You want a git clone of the official repo so that the git indexes matches up when you have tricky applies/rerolls.
Loading…
revised
Sync content between two Drupal sites
added 222 characters in body
Loading…
comment
Composer keeps overwriting .htaccess (and other files) every time I do anything
cweagans/composer-patches can also handle the last bit, which I think is still added by default in drupal-composer/drupal-project
answered
Loading…
comment
Why doesn't core pass unit tests out of the box?
Don't agree w/ the close vote on this. It is a pretty clear question.
comment
composer won't update 8.7.10 to 8.8.2 - "Nothing to install or update"
What does composer why-not drupal/core:8.8.1 and composer why-not drupal/core:8.8.2 show? Bit I highly suspect it is the webflo/drupal-core-require-dev requirement, as the project is abandoned in favor of drupal/core-recommended.
comment
How to display a date facet in a date popup/picker?
I can’t speak to Facets specifically, but there is a core issue about this. It is a surprisingly difficult problem.
comment
Using taxonomy exposed filter in a view ends in MySQL can only use 61 tables in a join
I am reopening this when I get off mobile. Edit makes it a good question. I am really baffled why that isn’t an IN query, which is how I thought that filter plugin worked.
comment
How do I re-save all users?
I'm with @leymannx on this one. The standard pattern in core update hooks is to do a COUNT() query (or similar) to initialize, and then load the items in each batch with a ->range() query. Personally, I think the timeout approach is fragile.
revised
Loading…
comment
Big Pipe is breaking ARIA accordion javascript functionality
Are you doing any other initialization, or just adding the script? BigPipe requires the JSAPI (eg, attach behaviors) to be used properly for things to work.
answered
Loading…
comment
MarkupInterface interoperability with other PHP frameworks
@donquixote I have never done this, but I think all of the components are split out on Packagist in the drupal/core-* requirements. Try composer require drupal/core-render and see what you get.
Loading…
comment
How can I add a CSS class to the body tag?
@HardikPatel Your original post was essentially a link only answer. For module recommendations, we typically ask that people include a short snippet about the module (the module description can be good) except for ones that are very common, and a little about how the module can solve the problem. We also ask that people disclose their connections to modules, blog posts, etc. Self-promotion (within reason) is OK, just let everyone know. I edited the post for a head start for you, but add any more details that you feel would help.
revised
How can I add a CSS class to the body tag?
added 461 characters in body
Loading…
comment
In what order are implementations of the of same hook done from different modules invoked?
@donquixote Yes and no. Weight will always come first. Alphabetical is done by the system as a sort (in Drupal 7, see module_implements() and module_list() ; forget where it is in Drupal 8). But, hook_module_implements_alter() can mess with those. In other words, when the alphabetical part happens, it is deterministic because core does the sort.
1
3 4
5
6 7
249