Account created on 18 March 2007, almost 18 years ago
#

Recent comments

Would it be better or worse to catch the Drupal\Core\Entity\Exception\UndefinedLinkTemplateException? I think this approach would work and I'll see if I can test since I happen to have this issue on my site.

This patch was failing, probably because there isn't a Kernel directory in the test. I just made one so I could try this patch and see if it fixes my problem. That might be the wrong answer.

updates for drupal 11 base image

I'm currently updating the tutorial to use Drupal 10, Solr 9, and search_api_solr 4.3.5

Clarification of why this guide exists and who it isn't recommended by.  Obviously I'm fond of it.

Reroll of #3 which isn't applying at least with 10.2.x

Recreated #2 as a patch because I'm not sure about installing from a core fork

I thought this was working but I was wrong. The approach I went with in the end is this

/**
 * Implements hook_editor_js_settings_alter
 */
function mymodule_editor_js_settings_alter(array &$settings) {
  // Settings for ckeditor4 youtube plugin responsive setting to be the default
  foreach ($settings['editor']['formats'] as $name => $value) {
    $settings['editor']['formats'][$name]['editorSettings']['youtube_responsive'] = TRUE;
  }
}

I made an issue fork and things before I realized this is probably not desired default behavior but I'm going to put the patch here if people want it to work that way without making a separate module.

Production build 0.71.5 2024