You are here

abstract protected function BaseMapping::getConfigKey in Flags 8

Gets config key that holds list of mapping entities.

Return value

string

2 calls to BaseMapping::getConfigKey()
BaseMapping::map in src/Mapping/BaseMapping.php
Maps provided string to a flag code. Returned string should be lower case flag code.
BaseMapping::__construct in src/Mapping/BaseMapping.php
Creates new instance of BaseMapping class.
2 methods override BaseMapping::getConfigKey()
Country::getConfigKey in src/Mapping/Country.php
Gets config key that holds list of mapping entities.
Language::getConfigKey in src/Mapping/Language.php
Gets config key that holds list of mapping entities.

File

src/Mapping/BaseMapping.php, line 31

Class

BaseMapping
Provides generic mapping service to map values to flags using config entities.

Namespace

Drupal\flags\Mapping

Code

protected abstract function getConfigKey();