You are here

public function FlagMappingInterface::map in Flags 8

Maps provided string to a flag code. Returned string should be lower case flag code.

Parameters

string $value Value of the source data.:

Return value

string

1 method overrides FlagMappingInterface::map()
BaseMapping::map in src/Mapping/BaseMapping.php
Maps provided string to a flag code. Returned string should be lower case flag code.

File

src/Mapping/FlagMappingInterface.php, line 21

Class

FlagMappingInterface
Interface for flag mapping service to map different values to flag codes.

Namespace

Drupal\flags\Mapping

Code

public function map($value);