You are here

public function ConfigNamesMapper::getWeight in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::getWeight()
  2. 10 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::getWeight()

Returns the weight of the mapper.

Return value

int The weight of the mapper.

Overrides ConfigMapperInterface::getWeight

File

core/modules/config_translation/src/ConfigNamesMapper.php, line 376

Class

ConfigNamesMapper
Configuration mapper base implementation.

Namespace

Drupal\config_translation

Code

public function getWeight() {
  return $this->pluginDefinition['weight'];
}