adapt elements to new interface definition

This commit is contained in:
2016-01-31 23:43:53 +01:00
parent e79aebabff
commit e616626cc2
6 changed files with 47 additions and 15 deletions

View File

@@ -125,9 +125,9 @@ class NationalityAggregator implements AggregatorInterface
return array('nationality_aggregator');
}
public function requiredRole()
public function addRole()
{
return new Role(PersonVoter::STATS);
return NULL;
}
public function getLabels($key, array $values, $data)