Skip to content

Instantly share code, notes, and snippets.

@aertmann
Created March 29, 2012 09:59
Show Gist options
  • Save aertmann/2235564 to your computer and use it in GitHub Desktop.
Save aertmann/2235564 to your computer and use it in GitHub Desktop.
$step = $this;
$callback = function(\TYPO3\Form\Core\Model\FinisherContext $finisherContext) use ($step) {
$step->importSite($finisherContext);
};
$this->closureFinisher = new \TYPO3\Form\Finishers\ClosureFinisher();
$this->closureFinisher->setOption('closure', $callback);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment