You are here

public function DefaultCoder::encode in Facets Pretty Paths 8

Encode an id into an alias.

Parameters

string $id: An entity id.

Return value

string An alias.

Overrides CoderInterface::encode

File

src/Plugin/facets_pretty_paths/coder/DefaultCoder.php, line 27

Class

DefaultCoder
Default facets pretty paths coder.

Namespace

Drupal\facets_pretty_paths\Plugin\facets_pretty_paths\coder

Code

public function encode($id) {
  return $id;
}