getModuleManager(); $moduleName = substr($methodName, 0, -6); // Strip 'Action' suffix if (!$moduleManager->hasEnabled($moduleName)) { // TODO(el): Throw a not found exception once the code has been moved to the moduleAction (see TODO above) return parent::__call($methodName, $args); } } } // @codingStandardsIgnoreEnd