You are here

protected function EntityDefaultI18nStringController::menuBasePath in Entity API 7

Defines the menu base path used by self::hook_object_info().

1 call to EntityDefaultI18nStringController::menuBasePath()
EntityDefaultI18nStringController::hook_object_info in ./entity.i18n.inc
Implements hook_i18n_object_info() via entity_i18n_object_info().

File

./entity.i18n.inc, line 179
Internationalization (i18n) integration.

Class

EntityDefaultI18nStringController
Default controller handling i18n integration.

Code

protected function menuBasePath() {
  return !empty($this->entityInfo['admin ui']['path']) ? $this->entityInfo['admin ui']['path'] : FALSE;
}