You are here

protected function IgnoredModulesForm::buildRow in Nagios Monitoring 8

Build one row in the list of modules

Parameters

Extension $module: The module that the row is build for

Return value

array The row data for the table select element

1 call to IgnoredModulesForm::buildRow()
IgnoredModulesForm::buildTable in src/Form/IgnoredModulesForm.php
Build the list of modules

File

src/Form/IgnoredModulesForm.php, line 179

Class

IgnoredModulesForm

Namespace

Drupal\nagios\Form

Code

protected function buildRow(Extension $module) {
  $row = [];
  $row['title'] = $module->info['name'];
  $row['description'] = $this
    ->t($module->info['description']);
  return $row;
}