You are here

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()
EntityTranslationDefaultHandler::initPathScheme in includes/translation.handler.inc

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);