ConfigEntityMapper::getBaseRouteParameters

public ConfigEntityMapper::getBaseRouteParameters()

Returns the route parameters for the base route the mapper is attached to.

Return value

array

Overrides ConfigNamesMapper::getBaseRouteParameters

File

core/modules/config_translation/src/ConfigEntityMapper.php, line 167

Class

ConfigEntityMapper
Configuration mapper for configuration entities.

Namespace

Drupal\config_translation

Code

public function getBaseRouteParameters() {
  return array($this->entityType => $this->entity->id());
}
doc_Drupal
2016-10-29 08:52:47
Comments
Leave a Comment

Please login to continue.