Skip to content
Snippets Groups Projects
Commit 1028c30d authored by Owen Bush's avatar Owen Bush
Browse files

Resolve minor coding standards issues with RecurringEventsFullCalendarProcessor

parent 0e5cae04
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ namespace Drupal\recurring_events\Plugin\FullcalendarViewProcessor;
use Drupal\fullcalendar_view\Plugin\FullcalendarViewProcessorBase;
use Drupal\recurring_events\Entity\EventInstance;
use Drupal\Component\Utility\Xss;
use Drupal\Core\StringTranslation\StringTranslationTrait;
/**
* Recurring Events Full Calendar View Processor plugin.
......@@ -19,6 +19,8 @@ use Drupal\Component\Utility\Xss;
*/
class RecurringEventsFullCalendarProcessor extends FullcalendarViewProcessorBase {
use StringTranslationTrait;
/**
* {@inheritdoc}
*/
......@@ -55,7 +57,7 @@ class RecurringEventsFullCalendarProcessor extends FullcalendarViewProcessorBase
$title = $fields[$options['title']]->advancedRender($row);
}
else {
$title = t('Invalid event title');
$title = $this->t('Invalid event title');
}
$entries[$key]['title'] = $title;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment