'#description'=>t('Link to a day view when a highlighted date is clicked. The day view must have the same path as this view except the last component should be "day" instead of "year". i.e. if this view has path "a/b/c/year", then the day view should have path "a/b/c/day".'),
'#description'=>$this->t('Link to a day view when a highlighted date is clicked. The day view must have the same path as this view except the last component should be "day" instead of "year". i.e. if this view has path "a/b/c/year", then the day view should have path "a/b/c/day".'),
];
$form['no_results']=[
'#type'=>'checkbox',
'#title'=>t('Display calendar even if there are no results.'),
'#title'=>$this->t('Display calendar even if there are no results.'),
$this->messenger()->addWarning(t('The view path must contain "year" as the last component.'));
$this->messenger()->addWarning($this->t('The view path must contain "year" as the last component.'));
return;
}
...
...
@@ -252,7 +252,10 @@ class FullCalendarSolr extends StylePluginBase {
}
catch(\Exception$e){
// Return NULL if the field didn't contain a parseable date string.
$this->messenger()->addMessage($this->t('The date "@date" does not conform to a <a href="@php-manual">PHP supported date and time format</a>.',['@date'=>$date_string,'@php-manual'=>'http://php.net/manual/en/datetime.formats.php']));
$this->messenger()->addMessage($this->t('The date "@date" does not conform to a <a href="@php-manual">PHP supported date and time format</a>.',[