Commit a40ab426 authored by Neslee Canil Pinto's avatar Neslee Canil Pinto

Fixed Coding Standards in GalleryIdHelper.php

parent 026433f2
......@@ -9,15 +9,15 @@ use Drupal\Core\Field\FieldItemInterface;
use Drupal\Core\Utility\Token;
/**
* Class GalleryIdHelper
* Class GalleryIdHelper.
*
* @package Drupal\colorbox
*/
class GalleryIdHelper {
/**
* @var null
*
*/
protected $galleryToken = NULL;
......@@ -49,7 +49,6 @@ class GalleryIdHelper {
*
* @return string
*/
public function generateId(ContentEntityInterface $entity, FieldItemInterface $item, array $settings) {
$entity_bundle = $entity->bundle();
$entity_type = $entity->getEntityTypeId();
......@@ -79,7 +78,7 @@ class GalleryIdHelper {
case 'custom':
$gallery_id = $this->token->replace(
$settings['colorbox_gallery_custom'], [$entity_type => $entity,'file' => $item], ['clear' => TRUE]);
$settings['colorbox_gallery_custom'], [$entity_type => $entity, 'file' => $item], ['clear' => TRUE]);
break;
default:
......
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