group-8.x-1.x-dev/src/ConfigTranslation/GroupRoleMapper.php
src/ConfigTranslation/GroupRoleMapper.php
<?php
namespace Drupal\group\ConfigTranslation;
use Drupal\config_translation\ConfigEntityMapper;
/**
* Provides a configuration mapper for group roles.
*/
class GroupRoleMapper extends ConfigEntityMapper {
/**
* {@inheritdoc}
*/
public function getBaseRouteParameters() {
return [
$this->entityType => $this->entity->id(),
'group_type' => $this->getEntity()->get('group_type'),
];
}
}
