public function OpignoCalendarToday::render in Opigno calendar 3.x
Render the area.
Parameters
bool $empty: (optional) Indicator if view result is empty or not. Defaults to FALSE.
Return value
array In any case we need a valid Drupal render array to return.
Overrides AreaPluginBase::render
File
- src/
Plugin/ views/ area/ OpignoCalendarToday.php, line 19
Class
- OpignoCalendarToday
- Defines a views area plugin.
Namespace
Drupal\opigno_calendar\Plugin\views\areaCode
public function render($empty = FALSE) {
return [
'#theme' => 'opigno_calendar_today',
];
}