You are here

function crumbs_MultiPlugin_LegacyWrapper::__construct in Crumbs, the Breadcrumbs suite 7.2

Parameters

crumbs_MultiPlugin $wrappedPlugin:

string[] $findParentRouteMethods: Format: $[$route] = $method

string[] $findTitleRouteMethods: Format: $[$route] = $method

File

lib/MultiPlugin/LegacyWrapper.php, line 32

Class

crumbs_MultiPlugin_LegacyWrapper
A wrapper for legacy plugins with suffixed methods like findTitle__node_x().

Code

function __construct(crumbs_MultiPlugin $wrappedPlugin, array $findParentRouteMethods, array $findTitleRouteMethods) {
  $this->wrappedPlugin = $wrappedPlugin;
  $this->findParentRouteMethods = $findParentRouteMethods;
  $this->findTitleRouteMethods = $findTitleRouteMethods;
}