Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
colorbox-3127345
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Issue forks
colorbox-3127345
Commits
c1ef365e
Commit
c1ef365e
authored
Apr 28, 2017
by
RenatoG
Committed by
RenatoG
Apr 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2873914
by RenatoG: Add tips for extras configs in settings
parent
728a0b27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
src/Form/ColorboxSettingsForm.php
src/Form/ColorboxSettingsForm.php
+12
-0
No files found.
src/Form/ColorboxSettingsForm.php
View file @
c1ef365e
...
...
@@ -296,6 +296,18 @@ class ColorboxSettingsForm extends ConfigFormBase {
'#default_value'
=>
$config
->
get
(
'advanced.compression_type'
),
];
$form
[
'colorbox_extras'
]
=
[
'#type'
=>
'details'
,
'#title'
=>
$this
->
t
(
'Extras'
),
];
$form
[
'colorbox_extras'
][
'colorbox_additional_tips'
]
=
[
'#markup'
=>
$this
->
t
(
'You can find new features in the <a href="@url_colorbox_load" target="blank">Colorbox Load</a> and <a href="@url_colorbox_inline" target="blank">Colorbox Inline</a>'
,
[
'@url_colorbox_load'
=>
'https://www.drupal.org/project/colorbox_load'
,
'@url_colorbox_inline'
=>
'https://www.drupal.org/project/colorbox_inline'
,
]),
];
return
parent
::
buildForm
(
$form
,
$form_state
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment