When developing custom modules for Drupal, translating the user interface strings can not benefit from the localize.drupal.org infrastructure, like for contrib modules. So you need a way to provide these UI translations in your custom
Drupal
Should you run into the situation where you need to reset the module config to the installation state (for what ever reasons), then this snippet might help you: \Drupal::service('config.installer')->installDefaultConfig('module', $module)
Do you see one of the following errors in your Drupal 8+ Status Report? Mismatched entity and/or field definitions The XXX field needs to be updated. The XXX field needs to be uninstalled. This is caused by mismatch in the field (storage)
Drupal Form API doesn't offer a native HTML type="reset" button known from the W3C: https://www.w3.org/TR/2012/WD-html-markup-20121025/input.reset.html So if you ever need one, this might be a good starting point in Drupal 8+: 'reset' => [
Knowing the old logics from Drupal 7, where you could place a "translations" folder into your custom modules, containing the language .po files, the situation is a bit different for Drupal 8+: You can find the related information (bit
Dir hat dieser Beitrag Zeit und viele Nerven gespart?
Dann würde ich mich sehr über einen leckeren Kaffee freuen! Oder ein spannendes Tech-Buch aus meiner Wunschliste?