Skip to content
Snippets Groups Projects

Separators to empty strings

@@ -333,7 +333,7 @@ class SmartDateRule extends ContentEntityBase {
public function getTextRule() {
$freq = $this->get('freq')->getString();
$repeat = $freq;
$repeat_separator = NULL;
$repeat_separator = '';
$params = $this->getParametersArray();
$day_labels = [
'MO' => $this->t('Monday'),
@@ -627,14 +627,14 @@ class SmartDateRule extends ContentEntityBase {
'#repeat' => $repeat,
'#repeat_separator' => $repeat_separator,
'#day' => $day,
'#day_separator' => $day_separator,
'#day_separator' => $day_separator ?? '',
'#days_array' => $days_array,
'#month' => $month,
'#month_separator' => $month_separator,
'#month_separator' => $month_separator ?? '',
'#time' => $time,
'#time_separator' => $time_separator,
'#time_separator' => $time_separator ?? '',
'#limit' => $limit,
'#limit_separator' => $limit_separator,
'#limit_separator' => $limit_separator ?? '',
];
}
Loading