Closed (fixed)
Project:
Brightcove Video Connect
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 May 2016 at 07:47 UTC
Updated:
4 Oct 2016 at 15:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dawehnerHere is the patch
Comment #3
boobaaThe patch accepts just about anything as the URL. It'd be better to accept only correct URLs. I think it's OK to introduce dependency on core's link.module for this.
Comment #4
dawehnerGood point! The field type we want here though is not a link, but a URL, so we can leverage
\Drupal\Core\Field\Plugin\Field\FieldType\UriItemwhich is in core. No requirement to the link module is needed.Comment #6
yce commentedThanks for the patch! I had to tune it a little though, so it would be more user friendly.
Commited.
Comment #7
yce commentedComment #8
dawehner<3 Thank you a lot!