Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow record sliding in page.resources.fal #679

Closed
wants to merge 6 commits into from
Prev Previous commit
Next Next commit
[FEATURE] Make AbstractRecordResourceViewHelper inherit from Abstract…
…SlideViewHelper

This is required for using record sliding in Page\Resources\FalViewHelper which is a subclass of AbstractRecordResourceViewHelper.
  • Loading branch information
pkerling committed Sep 30, 2014
commit 9cefd92e270892a3835ee510cc14153ee8919ff8
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
* @package Vhs
* @subpackage ViewHelpers\Resource\Record
*/
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Fluid\Core\ViewHelper\Exception;
use FluidTYPO3\Vhs\ViewHelpers\AbstractSlideViewHelper;
use FluidTYPO3\Vhs\Utility\ViewHelperUtility;

abstract class AbstractRecordResourceViewHelper extends AbstractViewHelper implements RecordResourceViewHelperInterface {
abstract class AbstractRecordResourceViewHelper extends AbstractSlideViewHelper implements RecordResourceViewHelperInterface {

/**
* @var string
Expand Down Expand Up @@ -158,7 +158,7 @@ public function getRecord($id) {
public function getActiveRecord() {
return $this->configurationManager->getContentObject()->data;
}

/**
* @return mixed
*/
Expand Down