Commit baa4fb7e authored by Sam152's avatar Sam152 Committed by Sam152

Issue #2755773 by Sam152: Replacing t function with $this->t in class file

parent d6dbe637
......@@ -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.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment