You are here

public function JobLegend::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/JobLegend.php, line 19

Class

JobLegend
Views area job legend handler.

Namespace

Drupal\tmgmt\Plugin\views\area

Code

public function render($empty = FALSE) {
  $form['footer'] = tmgmt_color_job_legend();
  $form['footer']['#weight'] = 100;
  return $form;
}