


Update Symfony before Drupal core?
Right now there are some security updates for Symfony: curl -sS https://get.symfony.com/cli/installer | bash echo y | ~/.symfony/bin/symfony self:update ~/.symfony/bin/symfony security:check Symfony Security Check Report ============================= 2 packages have... read more
Remove an item from $form_state in an ajax callback
I’m using this form api example: AjaxAddMore. I want to add a “remove button” for each indiviaul element, in order to remove an item but not the latest. Thouse are my changes: … $form[‘names_fieldset’] = [ ‘#type’ =>... read more
How to tell if a menu link is route:<nolink> or not?
Trying to theme a menu in Drupal 8, running into a case where we need to add classes on certain links. In the case of a menu link that is route:<nolink> we need to not add any class at all. Example: {% if item.below and item.url %} {{ link(item.title, item.url,... read more
How does `drush cim` find and handle the config-directory? [closed]
I would like to know where the config directory is, and how drush cim command exactly handles it? Last Edit: After learning Drupal to end, I now recommend everyone to migrate away from Drupal, As the name already says it "Drop All". For example, the only... read more
How to open a node edit form in an overlay (modal window) in Drupal 8
I have a view with nodes of type ‘tasks’. I want to easily view and edit these tasks by using a minimized overlay. When I click on a task title in the view, it needs to open in an overlay. In D7 this was possible with the core overlay module, in... read more
Can’t place a custom block
After adding a block file to src/Plugin/Block I can’t add the block on the Block Layout admin page. When I filter by block name I can see it, but then when I try to place it I can’t get to the configure block screen (pressing the ‘Place block’... read more
Search API Solr Configured, Content Indexed, No Search Results
I’m running a Drupal 8.6.13 site with Search API 8.x-1.12 and Search API Solr Search 8.x-2.7. Everything seems to be properly installed and configured – my Solr admin panel shows a configured core and everything looks fine on my Drupal admin interface. I... read more
entity_print module -> file_unmanaged_save_data writes a pdf with 0 bytes
We have a custom written module (not by me), that uses entity_print to create PDF documents. It was working fine until I upgraded drush from 9.0-beta4 to 9.5 (had to update drush commands). The functions all look like they are working the same as before, but the PDF... read more
push jsonlog data to elasticsearch
I have installed the module jsonlog on drupal 7, but there are no information on how can I push the logs to elasticsearch or kibana or logstash. How do I do that? read more
Watchdog table growing out of control
I have seen similar questions to this before but they do not solve my problem. This is Drupal 8. Today the watchdog table on one of our sites exploded to 12GB in size. No other table in the DB is above a few dozen MBs if that. Logging was only set to record the last... read more
Cannot configure the site as SAML SP with simplesamlphp_auth
I have a functioning SAML IdP, implemented with LemonLDAP::NG. I know it functions because it works with Nextcloud as an SP. I’ve also successfully configured a DokuWiki SP in the past. The IdP, the Nextcloud SP and the Drupal 8 SP are all behind an Nginx... read more