public function JobItemLegend::render in Translation Management Tool 8
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/ JobItemLegend.php, line 19
Class
- JobItemLegend
- Views area job item legend handler.
Namespace
Drupal\tmgmt\Plugin\views\areaCode
public function render($empty = FALSE) {
$form['footer'] = tmgmt_color_job_item_legend();
$form['footer']['#weight'] = 100;
return $form;
}