You are here

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

Parameters

crumbs_MonoPlugin $wrappedPlugin:

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

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

File

lib/MonoPlugin/LegacyWrapper.php, line 32

Class

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

Code

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