public function DefaultCoder::decode in Facets Pretty Paths 8
Decodes an alias back to an id.
Parameters
string $alias: An alias.
Return value
string An id.
Overrides CoderInterface::decode
File
- src/
Plugin/ facets_pretty_paths/ coder/ DefaultCoder.php, line 40
Class
- DefaultCoder
- Default facets pretty paths coder.
Namespace
Drupal\facets_pretty_paths\Plugin\facets_pretty_paths\coderCode
public function decode($alias) {
return $alias;
}