You are here

public function FlagMapping::setSource in Flags 8

Sets source for the mapping.

Parameters

string $source:

Return value

FlagMapping

File

src/Entity/FlagMapping.php, line 76

Class

FlagMapping
Defines the flag mapping entity.

Namespace

Drupal\flags\Entity

Code

public function setSource($source) {
  $this->source = $source;
  return $this;
}