You are here

public function ConfigNamesMapper::getWeight in Drupal 9

Same name and namespace in other branches
  1. 8 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'];
}