Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Issue forks
colorbox-3183921
Commits
baa4fb7e
Commit
baa4fb7e
authored
Jun 28, 2016
by
Sam152
Committed by
Sam152
Jun 28, 2016
Browse files
Issue
#2755773
by Sam152: Replacing t function with $this->t in class file
parent
d6dbe637
Changes
1
Hide whitespace changes
Inline
Side-by-side
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