Is there any work going on to make Freelinking available for D8?

Apologies that this is probably in the wrong place but couldn't think where else to ask.

Comments

gisle’s picture

Version: master » 7.x-3.3
Status: Active » Postponed

talvi wrote:

Is there any work going on to make Freelinking available for D8?

AFAIK, no.

If somebody want to do this as co-maintainer, send me a PM, and we'll try to get something worked out.

gisle’s picture

Title: D8 » Port of Freelinking to Drupal 8

Please note: Unless you have a CV that shows some experience with Drupal, I would like to see some code before assigning co-maintainership with responsibility to oversee development for Drupal 8. The best way is probably to create a sandbox with an initial Drupal 8 version (i.e. not only a stub). I'll review the sandbox and if it looks OK, I'll assign co-maintainership.

gisle’s picture

Version: 7.x-3.3 » 8.x-3.x-dev

Changing version.

mradcliffe’s picture

Status: Postponed » Needs review
StatusFileSize
new56.47 KB

Hacked on this a bit and have a proof of concept (POC). The attached patch is pretty big (but should be testable on simplytest.me) so I'll outline things regarding the POC:

  1. Change 'plugin' architecture to Plugin API plugins that have custom configuration. The plugin manager is responsible for doing things such as parse targets and instantiating plugins for building the link. Each plugin has a buildLink method which operates similar to the 'plugin' callback. This change means that everything should be implemented as Plugin API plugins. This corresponds to the utilities.inc file.
  2. Implement filter plugin that loads configuration of its plugins in the settingsForm. This needs work to map out the schema object as without it an error will occur on saving the filter configuration entity. This corresponds to the forms.inc file.
  3. The proof of concept implements the nodetitle plugin, mostly, without the failover and content types configuration. That will probably be the next step to implement in the proof of concept.
  4. Adding unit tests for the plugin manager and what not in addition to fixing the functional test is also TODO.
  5. Theming is simplified. Ideally we would only need the freelink_error theme, but the freelink template serves as a necessary wrapper for the Link render element.
gisle’s picture

@mradcliffe,
looks good.

I've added you as co-maintainer so that you can push to the repo, etc.

Welcome aboard!

gisle’s picture

Status: Needs review » Fixed

Updating status.

mradcliffe’s picture

I'll create some follow-up issues to this one as there is still plenty of work to be done on it.

  • mradcliffe committed c5047c2 on 8.x-3.x
    Issue #2178561 by mradcliffe: Add basic freelinking filter plugin and...

Status: Fixed » Closed (fixed)

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