public function EntityTranslationHandlerInterface::initPathScheme in Entity Translation 7
Initializes the most suited path scheme based on the given path.
Parameters
$path: (optional) The path to match the defined path schemes against. Defaults to the current path.
Return value
The matched path scheme key.
1 method overrides EntityTranslationHandlerInterface::initPathScheme()
File
- includes/
translation.handler.inc, line 297 - Default translation handler for the translation module.
Class
- EntityTranslationHandlerInterface
- Interface for enabling entity translation.
Code
public function initPathScheme($path = NULL);