editable() public method

See also: Bolt\Twig\Handler\HtmlHandler::editable()
public editable ( $html, $content, $field )
示例#1
0
 public function testEditable()
 {
     $app = $this->getApp();
     $handlers = $this->getTwigHandlers($app);
     $handlers['html'] = $this->getMockHandler('HtmlHandler', 'editable');
     $twig = new TwigExtension($app, $handlers, true);
     $twig->editable(null, new Content($app), null, null);
 }