Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
C
colorbox
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Drupal.org issue queue
Drupal.org issue queue
Security & Compliance
Security & Compliance
Dependency List
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
project
colorbox
Commits
d6dbe637
Commit
d6dbe637
authored
Jun 28, 2016
by
Chandan Chaudhary
Committed by
frjo
Jun 28, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2755773
by Chandan Chaudhary: Replacing t function with $this->t in class file
parent
3f5650bc
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
129 additions
and
129 deletions
+129
-129
src/ColorboxAttachment.php
src/ColorboxAttachment.php
+4
-4
src/Form/ColorboxSettingsForm.php
src/Form/ColorboxSettingsForm.php
+72
-72
src/Plugin/Field/FieldFormatter/ColorboxFormatter.php
src/Plugin/Field/FieldFormatter/ColorboxFormatter.php
+53
-53
No files found.
src/ColorboxAttachment.php
View file @
d6dbe637
...
...
@@ -83,10 +83,10 @@ class ColorboxAttachment implements ElementAttachmentInterface {
else
{
$js_settings
=
array
(
'opacity'
=>
'0.85'
,
'current'
=>
t
(
'{current} of {total}'
),
'previous'
=>
t
(
'« Prev'
),
'next'
=>
t
(
'Next »'
),
'close'
=>
t
(
'Close'
),
'current'
=>
$this
->
t
(
'{current} of {total}'
),
'previous'
=>
$this
->
t
(
'« Prev'
),
'next'
=>
$this
->
t
(
'Next »'
),
'close'
=>
$this
->
t
(
'Close'
),
'maxWidth'
=>
'98%'
,
'maxHeight'
=>
'98%'
,
'fixed'
=>
TRUE
,
...
...
src/Form/ColorboxSettingsForm.php
View file @
d6dbe637
This diff is collapsed.
Click to expand it.
src/Plugin/Field/FieldFormatter/ColorboxFormatter.php
View file @
d6dbe637
This diff is collapsed.
Click to expand it.
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