That error pops up when saving:
Error: Using $this when not in object context in Drupal\link_no_protocol\Plugin\Field\FieldWidget\NoProtocolLinkWidget::getUserEnteredStringAsUri()

Because the drupal core widget declares a method as static, it prevents us to use a setting to enable or disable. Anyway, it was kind of useless anyway because the behavior is the same as default when the feature is disabled.

Comments

phjou created an issue. See original summary.

  • phjou committed 827566a on 8.x-1.x
    Issue #3091254: Remove setting due to static method in Drupal Core
    
phjou’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.