Problem/Motivation

It's a bit tricky to figure out how to actually make this module do something. Hence issues like #3170548: How to activate this module? are filed.

Steps to reproduce

Install this module. Observe nothing happens for text formats that have the linkit filter configured.

Proposed resolution

Why not automatically add a sensible to default to the default Linkit Profile? That's why it's the default there too anyway, right?

  a214a47b-05a2-4334-ae53-939323e14ea0:
    uuid: a214a47b-05a2-4334-ae53-939323e14ea0
    id: 'entity:media'
    weight: 0
    settings:
      metadata: '[media:name]'
      bundles: {  }
      group_by_bundle: false
      substitution_type: media
      limit: 100

— this allows any media to be linked, and is just a sensible default.

Remaining tasks

Implement it.

User interface changes

None.

API changes

None.

Data model changes

None.

Comments

Wim Leers created an issue. See original summary.

oknate’s picture

Status: Active » Needs review
StatusFileSize
new3.2 KB

Here's a patch that updates the default linkit profile. It updates the tests to use this profile as well, giving test coverage for this update.

oknate’s picture

StatusFileSize
new309 bytes
new3.2 KB

Coding standard fix.

oknate’s picture

Should we update all linkit profiles? Or just the default?

oknate’s picture

StatusFileSize
new4.33 KB

Adding some more notes on how to get this working from a clean install. I tested this patch, and it works, as far as updating the default linkit profile.

  • oknate committed 10054bf on 1.0.x
    Issue #3184772 by oknate, Wim Leers: Automatically configure linkit...
oknate’s picture

Status: Needs review » Fixed

I went ahead and committed this. It would be nice to get a review from someone else, but I'm pretty sure this does what it's supposed to do.

oknate’s picture

StatusFileSize
new962 bytes

whitespace fixes for the README.

  • oknate committed 31dd165 on 1.0.x
    Issue #3184772 Fix whitespace in Readme.md
    

Status: Fixed » Closed (fixed)

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