Builds and returns the renderable array for this block plugin.
array A renderable array representing the content of the block.
Overrides BlockPluginInterface::build
\Drupal\block\BlockRenderController
public function build() {
$content = array();
if ($this->day_list) {
$content['top_day'] = $this->day_list;
$content['top_day']['#suffix'] = '<br />';
}
if ($this->all_time_list) {
$content['top_all'] = $this->all_time_list;
$content['top_all']['#suffix'] = '<br />';
}
if ($this->last_list) {
$content['top_last'] = $this->last_list;
$content['top_last']['#suffix'] = '<br />';
}
return $content;
}