You are here

public function EntityTranslationScaldHandler::getEditPath in Scald: Media Management made easy 7

Changes the editPath when necessary.

Overrides EntityTranslationDefaultHandler::getEditPath

File

includes/scald.translation_handler.inc, line 27
Translation handler for the Scald Atom entity.

Class

EntityTranslationScaldHandler
Class implementing the entity translation behaviours for Scald Atom.

Code

public function getEditPath($langcode = NULL) {
  $edit_path = parent::getEditPath($langcode);
  return str_replace('/%ctools_js', '/nojs', $edit_path);
}