function ConfigEntityMapper::getEntity

Same name in other branches
  1. 8.9.x core/modules/config_translation/src/ConfigEntityMapper.php \Drupal\config_translation\ConfigEntityMapper::getEntity()
  2. 10 core/modules/config_translation/src/ConfigEntityMapper.php \Drupal\config_translation\ConfigEntityMapper::getEntity()
  3. 11.x core/modules/config_translation/src/ConfigEntityMapper.php \Drupal\config_translation\ConfigEntityMapper::getEntity()

Gets the entity instance for this mapper.

Return value

\Drupal\Core\Config\Entity\ConfigEntityInterface The configuration entity.

File

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

Class

ConfigEntityMapper
Configuration mapper for configuration entities.

Namespace

Drupal\config_translation

Code

public function getEntity() {
    return $this->entity;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.