Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I've got my drupal site at drupal8.local.com and I get the error :
Trusted Host Settings
Not enabled
The trusted_host_patterns setting is not configured in settings.php. This can lead to security vulnerabilities. It is highly recommended that you configure this. See Protecting against HTTP HOST Header attacks for more information.
I don't know if it's possible, but I try to extend the OptionsSelectWidget widget to add additional field(s).
My goal is to have only a widget, not a new fieldType + widget + formatter, because I want to change behavior of an existing field added by contribution module.
I manually installing Drupal 8.6.15 under macOS (10.14.4) with existing MacPorts installations of apache 2.4, mysql 5.7, and php 7.3. Here's how I installed, under my administrator account:
First, I prepared by editing my apache httpd-vhosts.conf file so as to include:
I've got a custom block in Drupal 8, that I'm trying to get a little custom css select list. If I paste everything in, save the page, and view the site... it works. The field is set to Full HTML.
BUT, the moment I make any edit to that block, i get P tags. In fact, it's not even just putting them in line breaks. If I remove all line breaks, something is adding the line breaks back in and wrapping in p tags.