You are here

public function CoderInterface::encode in Facets Pretty Paths 8

Transforms a raw value into an url value.

Parameters

string $id: The raw value.

Return value

string The pretty value.

4 methods override CoderInterface::encode()
DefaultCoder::encode in src/Plugin/facets_pretty_paths/coder/DefaultCoder.php
Encode an id into an alias.
DummyCoder::encode in tests/modules/facets_pretty_paths_test/src/Plugin/facets_pretty_paths/coder/DummyCoder.php
Transforms a raw value into an url value.
NodeTitleCoder::encode in src/Plugin/facets_pretty_paths/coder/NodeTitleCoder.php
Encode an id into an alias.
TaxonomyTermCoder::encode in src/Plugin/facets_pretty_paths/coder/TaxonomyTermCoder.php
Encode an id into an alias.

File

src/Coder/CoderInterface.php, line 19

Class

CoderInterface
Describes the public API for coder plugins.

Namespace

Drupal\facets_pretty_paths\Coder

Code

public function encode($id);