protected function appendToWhiteAndBlacklistFromProviders(array $providers, array $record, array &$whitelist, array &$blacklist, $columnPosition, $fluxAreaName = NULL)
{
foreach ($providers as $provider) {
$grid = $provider->getGrid($record);
if (NULL === $grid) {
continue;
}
foreach ($grid->getRows() as $row) {
foreach ($row->getColumns() as $column) {
if (FALSE === empty($fluxAreaName)) {
if ($column->getName() === $fluxAreaName) {
list($whitelist, $blacklist) = $this->appendToWhiteAndBlacklistFromComponent($column, $whitelist, $blacklist);
}
} elseif ($column->getColumnPosition() === $columnPosition) {
list($whitelist, $blacklist) = $this->appendToWhiteAndBlacklistFromComponent($column, $whitelist, $blacklist);
}
}
}
}
}