Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
schemadotorg
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
schemadotorg
Commits
bcffdb23
Commit
bcffdb23
authored
11 months ago
by
Jacob Rockowitz
Browse files
Options
Downloads
Patches
Plain Diff
Resolve
#3451642
"Improve linkit attributes"
parent
d117d10f
No related branches found
No related tags found
1 merge request
!152
Resolve #3451642 "Improve linkit attributes"
Pipeline
#187507
passed with warnings
11 months ago
Stage: build
Stage: validate
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
schemadotorg.schemadotorg.inc
+4
-2
4 additions, 2 deletions
schemadotorg.schemadotorg.inc
with
4 additions
and
2 deletions
schemadotorg.schemadotorg.inc
+
4
−
2
View file @
bcffdb23
...
...
@@ -195,8 +195,10 @@ function linkit_schemadotorg_property_field_alter(
return
;
}
// Use linkit for the link URL autocompletion.
$widget_id
=
'linkit'
;
// Use Linkit or Linkit (with attributes) for the link URL autocompletion.
$widget_id
=
(
\Drupal
::
moduleHandler
()
->
moduleExists
(
'linkit_attributes'
))
?
'linkit_attributes'
:
'linkit'
;
$widget_settings
=
[
'linkit_auto_link_text'
=>
TRUE
];
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment