Hi,
I'm trying to replicate this functionality without requiring a module since I'd like to avoid leaving anything in the web server directory.
Oh boy drush has been a great addition to Drupal since I was playing with D5 but many things just make more sense as
drush php:script
I've been away from Drupal development from quite a bit and I'm taking this opportunity to get a better understanding of its new architecture.
So I'd like to ask a couple of questions about your design decisions.
Why did you add event management?
I checked the code of menu link content core module and it doesn't add any event.
Why are you skipping some translatable fields in getTranslatableFields other than the obvious ones like "langcode"?
Shouldn't be there an API to know which fields to skip?
creatDuplicate() doesn't skip any.
I plan to check what all the entity clone modules do, but your explanation would be appreciated.
thx.
[SOLVED]
Finally I got it working including solving #3356524 but not in a very satisfactory way.
I had to edit MYTHEME.libraries.yml and change the weight of style.css
css/style.css: { weight: 2000 }
not really elegant but it works.
It would make sense to change it even in the bootstrap_sass theme as well
I got a clue about what's happening.
Since css are compiled from scss, gulp "include" the bootstrap_barrio scss since it's not aware of the
libraries-override:
bootstrap_barrio/global-styling: false
Still I can't see any mechanism to just override a bunch of scss and make it easier to keep updated the core of bootstrap_barrio in the context of bootstrap_sass.
I've seen other method to sub-theme bootstrap_barrio and override some of the scss, some of them outdated and most of them requiring way to much manual work and hard to maintain and keep updated, and I was wondering if there is any way to achieve this in the context of bootstrap_sass.
thx
azaril → created an issue.
I'm not totally sure this is the same problem but I'm still getting access denied on admin/content/media-widget-table in D 9.5.8
The error in the logs is
Path: /XXXX/en/admin/content/media-widget-table. Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException: The opener ID parameter is required and must be a string. in Drupal\Core\Routing\AccessAwareRouter->checkAccess() (line 118 of /XXXX/core/lib/Drupal/Core/Routing/AccessAwareRouter.php).