[TASK] Remove wrong example in ShortcutButton 35/48435/2
authorWouter Wolters <typo3@wouterwolters.nl>
Wed, 1 Jun 2016 18:17:27 +0000 (20:17 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 2 Jun 2016 17:44:28 +0000 (19:44 +0200)
Resolves: #76415
Releases: master,7.6
Change-Id: I7e5694cfe1c104fdd3cb764af39acad690ffc4b9
Reviewed-on: https://review.typo3.org/48435
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/Template/Components/Buttons/Action/ShortcutButton.php

index 76dd52d..ebe65e6 100644 (file)
@@ -33,10 +33,7 @@ use TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext;
  * $buttonBar = $this->moduleTemplate->getDocHeaderComponent()->getButtonBar();
  * $myButton = $buttonBar->makeShortcutButton()
  *       ->setModuleName('my_info');
- * $extbaseButton = $buttonBar->makeShortcutButton()
- *      ->setControllerContext($this->controllerContext);
  * $buttonBar->addButton($myButton);
- * $buttonBar->addButton($extbaseButton);
  */
 class ShortcutButton implements ButtonInterface, PositionInterface
 {