You are here

public function TaskLegend::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

translators/tmgmt_local/src/Plugin/views/area/TaskLegend.php, line 19

Class

TaskLegend
Views area task legend handler.

Namespace

Drupal\tmgmt_local\Plugin\views\area

Code

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