Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Issue forks
colorbox-3127345
Commits
baa4fb7e
Commit
baa4fb7e
authored
Jun 28, 2016
by
Sam152
Committed by
Sam152
Jun 28, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2755773
by Sam152: Replacing t function with $this->t in class file
parent
d6dbe637
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/ColorboxAttachment.php
src/ColorboxAttachment.php
+4
-0
No files found.
src/ColorboxAttachment.php
View file @
baa4fb7e
...
...
@@ -9,11 +9,15 @@ namespace Drupal\colorbox;
use
Drupal\Core\Extension\ModuleHandlerInterface
;
use
Drupal\Core\Config\ConfigFactoryInterface
;
use
Drupal\Core\StringTranslation\StringTranslationTrait
;
/**
* An implementation of PageAttachmentInterface for the colorbox library.
*/
class
ColorboxAttachment
implements
ElementAttachmentInterface
{
use
StringTranslationTrait
;
/**
* The service to determin if colorbox should be activated.
*
...
...
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