public function CoderInterface::decode in Facets Pretty Paths 8
Transforms a url value into a raw value.
Parameters
string $alias: The pretty value.
Return value
string The raw value.
4 methods override CoderInterface::decode()
- DefaultCoder::decode in src/
Plugin/ facets_pretty_paths/ coder/ DefaultCoder.php - Decodes an alias back to an id.
- DummyCoder::decode in tests/
modules/ facets_pretty_paths_test/ src/ Plugin/ facets_pretty_paths/ coder/ DummyCoder.php - Transforms a url value into a raw value.
- NodeTitleCoder::decode in src/
Plugin/ facets_pretty_paths/ coder/ NodeTitleCoder.php - Decodes an alias back to an id.
- TaxonomyTermCoder::decode in src/
Plugin/ facets_pretty_paths/ coder/ TaxonomyTermCoder.php - Decodes an alias back to an id.
File
- src/
Coder/ CoderInterface.php, line 30
Class
- CoderInterface
- Describes the public API for coder plugins.
Namespace
Drupal\facets_pretty_paths\CoderCode
public function decode($alias);